Commit Graph
1117 Commits
Author SHA1 Message Date
Tanish Manku 4488b2cdfd Merge pull request #450 from storytold/m1/pen-and-squash
feat(pen): Pen parity (break, adjust, add, delete, continue) and tweens that keep area (M1)
2026-11-18 05:34:21 -07:00
Tanish Manku 1c31c9959b Merge remote-tracking branch 'origin/main' into HEAD 2026-11-18 04:49:55 -07:00
mocenigo 309634a67c Fix the macOS crash when a file dialog is resized: show it as a sheet (#128)
Show macOS file dialogs as sheets so resizing them no longer crashes.
Finder and Dock opens wait while a file dialog, Save As question, or
plug-in Browse sheet is up. After document tabs landed, CloseFlow also
waits while the deferred system Save As panel is pending.
2026-11-18 18:23:40 +07:00
Tanish Manku 059642a9ef test: lint-clean Motion Editor footer (M1) 2026-11-18 04:07:55 -07:00
Tanish Manku e6a7a3ef43 docs: ADR 0115 (Pen parity and keep-area tweens), the guide, roadmap, changelog and attribution (M1) 2026-11-18 03:58:44 -07:00
Tanish Manku e51292e7fd feat(shell): screenshot states for Keep area and the Pen on a path; the Motion Editor explains a following axis (M1) 2026-11-18 03:56:47 -07:00
Tanish Manku 47f7a8d585 feat(shell): the Pen breaks, adjusts, continues, adds and deletes points, with Shift steps and pointer marks (M1) 2026-11-18 03:54:33 -07:00
Tanish Manku c6808bb3a1 feat(engine): path.extend continues an open path from either end, or closes it (M1) 2026-11-18 03:49:48 -07:00
Tanish Manku 5ae4143df2 feat(shell): Keep area in Properties and the Motion Editor, which draws the derived scale curve (M1) 2026-11-18 03:45:53 -07:00
Tanish Manku 58eb25d8aa feat(engine): timeline.set_keep_area, and a following scale axis isn't keyed by a drag of the other (M1) 2026-11-18 03:43:36 -07:00
Tanish Manku fe540854a3 feat(doc): keep area on classic and motion tweens: scale moves geometrically, an unkeyed axis follows (M1) 2026-11-18 03:43:36 -07:00
Tanish Manku f602214d5b docs(adr): reserve ADR 0115 for the Pen and keep-area work (M1) 2026-11-18 03:33:54 -07:00
Tanish Manku 75e8781300 Merge pull request #446 from storytold/m7/layer-parenting
feat(timeline): layer parenting with a parenting view (M7)
2026-11-18 03:32:14 -07:00
Tanish Manku 7e9d8226c3 test: lint-clean parenting tests and a timing check (M7) 2026-11-18 02:31:14 -07:00
Tanish Manku 7fb26952f0 docs: ADR 0113 (layer parenting), the guide's timeline chapter, roadmap, changelog and attribution (M7) 2026-11-18 02:31:14 -07:00
Tanish Manku ce8315ddda feat(shell): the timeline's parenting view: a parent column with draggable dots, a parent menu, the arm sample (M7) 2026-11-18 02:30:59 -07:00
Tanish Manku 44f4f1227b feat(engine): layer.set_parent, layer.remove_parent and layer.parents; followers are edited in stage space (M7) 2026-11-18 02:30:59 -07:00
Tanish Manku b228949f45 feat(doc): layer parenting in the model and evaluate: a layer follows the first object on its parent layer (M7) 2026-11-18 02:30:59 -07:00
Tanish Manku f11fb0cd56 docs(adr): reserve ADR 0113 for layer parenting (M7) 2026-11-18 02:30:59 -07:00
Tanish Manku 4dd4a643a3 Merge pull request #443 from storytold/m8/document-tabs
feat(shell): several documents open at once, in tabs above the stage (M8)
2026-11-18 02:16:56 -07:00
Tanish Manku 8dd95a3609 fix(guide): the document tabs picture is one of the book's (M8) 2026-11-18 01:25:26 -07:00
Tanish Manku b70d0fb1dd docs: ADR 0112, the guide's document tabs, copying between documents and recovery sections, its pictures, roadmap and changelog (M8) 2026-11-18 01:25:26 -07:00
Tanish Manku 0f90ef98bc feat(shell): document tabs above the stage, each with its own session, view and autosave; New and Open bring a tab, closing asks about unsaved changes, quitting asks once for all (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 2ccb66a96f feat(engine): pasted artwork brings its symbols, bitmaps and sounds into another document, renamed on a clash; a session hands the editor's share to the next (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 51c90cb425 docs(adr): reserve ADR 0112 for document tabs (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 8729eba624 Merge pull request #441 from storytold/m3/stroke-coverage
fix(render): a stroke's coverage is one union, no double-darkening (M3)
2026-11-18 01:12:36 -07:00
Tanish Manku 5c4b8594b3 chore: merge main into m3/stroke-coverage 2026-11-18 00:34:53 -07:00
Tanish Manku a4e0125073 Merge pull request #442 from storytold/m1/transformation-point
feat(stage): a movable transformation point, a box that turns with the object, and layer opacity (M1)
2026-11-18 00:26:50 -07:00
Tanish Manku 7f4e33b95e fix(stage): the drawn rotate cursor on a turned box, and the command reference after the rebase (M1) 2026-11-17 23:42:31 -07:00
Tanish Manku e3210f6288 docs: ADR 0110, roadmap, changelog, performance and licence records for stroke coverage (M3) 2026-11-17 23:34:19 -07:00
Tanish Manku 28fcfd23c6 fix(render): a stroke's coverage is that of one outline, not of overlapping pieces (M3)
The stroker builds each run of segments as its own outline (inner edges cut where they
cross, through the bend's point where they can't) and unites the loops, so the
renderers' sum of signed areas is the stroke's true coverage: no pixel is darker where
pieces overlapped (it was up to about half a pixel at round joins, caps and the joints
of wide curves). The GPU stage draws the oracle's polygons, so it follows.

Fourteen corpus goldens change, all at stroke edges (lighter; the dark knots at
corners go). Measured, median of 80 renders, before -> after: 2,000 stroked shapes at
1080p 9.3 -> 9.0 ms; the demo 2.5 -> 2.6 ms; 300 self-crossing scribbles at 720p
5.9 -> 6.4 ms; edges handed to the rasterizers down 3 to 4 times.
2026-11-17 23:33:55 -07:00
Tanish Manku 0522c787f6 feat(geom): unions of flattened polygons on an integer grid (M3)
anicraft_geom::polygons::union turns loops that overlap or fold over themselves into
the loops of the area they cover, each point inside exactly one, with i_overlay
(MIT OR Apache-2.0). On clean outlines it costs about 60 ns an edge.
2026-11-17 23:33:55 -07:00
Tanish Manku a2fa0d4f3c docs(adr): reserve ADR 0110 for stroke coverage (M3) 2026-11-17 23:33:55 -07:00
Tanish Manku 7cf49aaf2b docs: ADR 0111, the guide's transformation point and layer opacity sections, roadmap and changelog (M1) 2026-11-17 23:33:27 -07:00
Tanish Manku 9d7c925bf3 test: accessibility sweep, snapping and layer properties expectations for the transformation point and layer opacity; the command reference (M1) 2026-11-17 23:33:06 -07:00
Tanish Manku 963de39541 feat(shell): Free Transform's turned box, a draggable transformation point, and layer opacity in Layer Properties and the timeline (M1) 2026-11-17 23:33:06 -07:00
Tanish Manku 6c787dd2df feat(engine): modify.transformation_point, layer.set_opacity, and transforms about an instance's point (M1) 2026-11-17 23:33:05 -07:00
Tanish Manku c23fa96ccd feat(render): layer opacity in the HTML canvas export, with CPU pixel and GPU parity tests (M1) 2026-11-17 23:32:53 -07:00
Tanish Manku 20ac637cc6 feat(doc): an instance's transformation point in tweens, and layer opacity as a fade group (M1) 2026-11-17 23:32:53 -07:00
Tanish Manku 4c68a12069 docs(adr): reserve ADR 0111 for the transformation point, turning box and layer opacity (M1) 2026-11-17 23:32:53 -07:00
Tanish Manku 0dcbfb888e Merge pull request #433 from storytold/fix/issues-editing
fix(editing): open-issue batch for drawing, selection, transform and the timeline (M1)
2026-11-17 23:27:50 -07:00
Tanish Manku bd3fb93138 chore: merge main (shape commands, issue requests) into the editing issue fixes (M1)
Pasting keeps its float parameter beside the transform-origin parameters; the stage keeps the
resize tracking and the picker's eyedropper.
2026-11-17 22:46:56 -07:00
Tanish Manku 853bab8a0d Merge pull request #439 from storytold/m1/shape-commands
feat(drawing): Convert Lines to Fills, Expand Fill, Soften Fill Edges, the picker's eyedropper and transformation origins (M1)
2026-11-17 22:38:13 -07:00
Tanish Manku fa39a53474 test(engine): as_chunks for constant-size chunks, as the newer clippy asks (M1) 2026-11-17 21:51:32 -07:00
Tanish Manku 0566b715b9 chore: merge main into the editing issue batch (M1)
# Conflicts:
#	CHANGELOG.md
#	docs/guide/drawing.md
#	docs/roadmap.md
2026-11-17 21:50:44 -07:00
Tanish Manku 47b6685d42 docs(guide): the command reference with the new shape, sample and origin commands (M1) 2026-11-17 21:23:17 -07:00
Tanish Manku 9249fb2fee docs: ADR 0109, the guide's drawing chapter, roadmap and changelog for the shape commands, picker eyedropper and transformation origins (M1)
The ADR file now holds number 0109, so its reservation row is gone. Context
help (F1) opens the guide at the new section from the two dialogs.
2026-11-17 21:21:57 -07:00
Tanish Manku cb366ee6bb feat(shell): Modify › Shape dialogs, the picker's eyedropper and Transform about (M1)
Expand Fill and Soften Fill Edges ask for a distance, direction and steps and
remember them; the Modify › Shape items are enabled by what the selection has.
While a colour picker popup is open the stage is its eyedropper: a chip shows
the colour under the pointer, a click gives it to the picker, Esc closes it.
Free Transform sends the transformation origin with turns, scales and skews,
marks each object's own point, and Properties shows Transform about.
2026-11-17 21:21:34 -07:00
Tanish Manku 4563afe840 feat(engine): transformation-origin modes for several selected objects (M1)
modify.transform_origin sets or cycles the mode (tool state); modify.transform
takes origin: selection | registration | center, and Rotate 90 and Flip follow
the mode. An object is one element or the selected pieces of one raw drawing;
its centre is the centre of its own box carried by its transform, so a drag
sent as thirty small changes ends where one transform would (tested).
2026-11-17 21:21:29 -07:00
Tanish Manku 04f3fa1981 feat(engine): Convert Lines to Fills, Expand Fill, Soften Fill Edges and paint.sample (M1)
modify.lines_to_fills, modify.expand_fill, modify.soften_fill_edges on the
selection of every layer, in keyframe space and stored back in the shape's own;
raw results merge with the drawing again (ADR 0031), objects stay objects.
paint.sample is the colour the CPU renderer draws at a point.

Measured against the union of the stroker's polygons at 2400 %: the fills'
area is within a pixel of the lines' for caps, joins, dashes, dots, width
profiles, tight curves and mirrored, skewed shapes (0.00 to 0.98 px on 200 to
10,000 px of line).
2026-11-17 21:21:28 -07:00