Commit Graph
585 Commits
Author SHA1 Message Date
Tanish Manku a64130a9da feat(engine): document swatches with swatch.* commands, swatch files and GIMP palettes (M1) 2026-11-12 19:14:43 -07:00
Tanish Manku f00e5b99bd docs(adr): reserve ADR 0078 for the Swatches panel (M1) 2026-11-12 19:01:06 -07:00
Tanish Manku dac8ab6e87 Merge pull request #261 from storytold/m1/gradient-tools
feat(ui): gradient editor, Gradient Transform tool and Lock Fill (M1)
2026-11-12 18:57:11 -07:00
Tanish Manku 29af082021 chore: merge main (dockable panels) into gradient tools (M1) 2026-11-12 18:26:04 -07:00
Tanish Manku 5da947b88c Merge pull request #265 from storytold/m8/dockable-panels
feat(shell): dockable panels and workspaces (M8)
2026-11-12 18:21:13 -07:00
Tanish Manku 0f59ad16c5 chore: merge main into m8/dockable-panels 2026-11-12 17:50:52 -07:00
Tanish Manku 6816f99246 chore: merge main (groups and Combine Objects) into the gradient tools (M1) 2026-11-12 17:50:49 -07:00
Tanish Manku f62e4d8005 Merge pull request #260 from storytold/m1/groups-combine
feat(doc): groups, Combine Objects and Selection-tool modifiers (M1)
2026-11-12 17:40:26 -07:00
Tanish Manku acb650a355 chore: merge main (colour picker, drawing-tool and start-up fixes) into the gradient tools; one colour picker (M1)
The fill's colour picker (the Tools panel's Fill square and every Fill swatch in
Properties) now starts with the fill's type (None, Solid, Linear, Radial,
Bitmap): Solid is main's picker as it was; a gradient shows its stop bar,
overflow, Linear RGB and focal point above the same swatches, mixer and hex,
which edit the picked stop. The separate Properties Colour section is gone.
Picker popups are named dialogs and the swatch grid a named control; the
accessibility audit covers the swatches state too. Help text, Drag::Width's
new fields and the guide pages are reconciled.
2026-11-12 17:23:26 -07:00
Tanish Manku b9c70998c1 Merge remote-tracking branch 'origin/main' into m1/groups-combine
# Conflicts:
#	CHANGELOG.md
#	crates/engine/src/cmds_draw.rs
#	docs/guide/drawing.md
#	docs/guide/reference/commands.md
#	docs/roadmap.md
#	src/main.rs
#	src/stage.rs
2026-11-12 17:14:47 -07:00
Tanish Manku 2bb01f9c2f test(shell): dock drag and drop, floating fallback, workspaces and audit; ADR 0075, guide (M8) 2026-11-12 17:13:17 -07:00
Tanish Manku 0636921987 feat(shell): dockable panels with tab groups, floating windows and workspaces (M8) 2026-11-12 15:17:30 -07:00
Tanish Manku dccdc85bfc docs(adr): reserve ADR 0075 for dockable panels (M8) 2026-11-12 15:17:30 -07:00
Tanish Manku 13e8a3ca71 Merge pull request #258 from storytold/fix/startup-files-display
fix(ui): start-up, files and display fixes from user reports (M8)
2026-11-12 15:16:44 -07:00
Tanish Manku d95ca84939 chore: merge main into fix/startup-files-display 2026-11-12 14:57:27 -07:00
Tanish Manku 3189d96668 Merge pull request #257 from storytold/fix/drawing-tools
fix(ui): drawing tools and colour fixes from user reports (M1)
2026-11-12 14:54:00 -07:00
Tanish Manku b9b397d878 fix(engine): a gradient drag keeps a raw fill's id; tests for the colour panel, tool and exporters (M1)
paint.transform_fill no longer re-merges a raw fill: re-merging gave the shape
a new id after the first step of a drag, so the Gradient Transform tool lost
it in the editor's default (merge) drawing mode. The stop bar's edits are pure
functions now (add, move, remove, widest gap), tested; the tool's drags run
through real frames for linear, radial and bitmap fills; HTML canvas and SVG
export of spread, focal point, ellipse and linear RGB are checked.
2026-11-12 14:53:13 -07:00
Tanish Manku 48c886e31b test(render): HTML filter tests build gradients with Paint::linear (M1) 2026-11-12 14:25:05 -07:00
Tanish Manku a2acaec3d8 docs: ADR 0074, guide, roadmap and changelog for the gradient tools (M1) 2026-11-12 14:21:43 -07:00
Tanish Manku 120458c89f feat(ui): Colour panel gradients and the Gradient Transform tool (M1)
Properties gains a Colour section for the selected fill or the fill swatch:
type (solid, linear, radial, bitmap), a stop bar (click to add, drag to move,
drag off to remove; arrow keys and Delete on a focused stop), stop colour with
opacity and hex, overflow, Linear RGB and the focal point. The Gradient
Transform tool (F) draws Animate's handles on linear, radial and bitmap fills;
each drag is one paint.transform_fill step. Lock Fill for the Paint Bucket and
Brush. Screenshot states: gradient, gradientbucket.
2026-11-12 14:21:35 -07:00
Tanish Manku 58baccf1ea feat(engine): paint.set_fill, paint.transform_fill and Lock Fill (M1)
paint.set_fill sets the fill swatch's type (solid, linear, radial, bitmap),
stops, overflow, linear RGB and focal point, and the selected fills in one
step (same kind keeps its geometry, a new kind is fitted). paint.transform_fill
moves, turns, scales and skews a gradient or bitmap fill (or sets its frame).
paint.lock_fill: unlocked (the default) fills are fitted to each shape, locked
ones run on across the stage; the Eyedropper locks what it picks, as Animate.
2026-11-12 14:21:35 -07:00
Tanish Manku 00b2cba610 feat(render): gradient spread, focal point, ellipses and linear RGB (M1)
Paint::Linear and Paint::Radial gain optional spread (extend/reflect/repeat)
and linear_rgb; radial gradients gain a focal point and a matrix (any
ellipse). All default and are skipped when unset, so older files and plain
gradients are stored as before. The CPU oracle, the GPU stage (and its
emulator), SVG and HTML export, and SVG and XFL import handle them exactly;
Lottie reports what it can't show. Fill frames (Paint::frame/with_frame/
fitted) are the basis of the Gradient Transform tool.
2026-11-12 14:21:34 -07:00
Tanish Manku 72cb708559 docs(adr): reserve 0074 for the gradient tools (M1) 2026-11-12 14:21:34 -07:00
Tanish Manku b08211833b chore: merge main (HTML filters, timeline fixes, soft masks) into drawing-tool fixes 2026-11-12 14:18:32 -07:00
Tanish Manku 5c990c3d4d Merge pull request #215 from storytold/m6/html-filters
feat(render): filters, Subtract and Invert in HTML canvas export (M6)
2026-11-12 14:14:50 -07:00
Dylan M. Taylor 44e32fc494 ci: let Dependabot maintain GitHub Actions dependencies (#244) 2026-11-12 16:10:01 -05:00
Tanish Manku 750f6f724a fix(doc): a tween between two groups tweens their members pairwise (M1)
An Animate file's classic-tweened DOMGroup moved by its members; holding the
first keyframe's members froze it (XFL corpus, scenes frame 3).
2026-11-12 14:03:13 -07:00
Tanish Manku c2ae1e90b9 docs: ADR 0073 timings (M1) 2026-11-12 13:53:49 -07:00
Tanish Manku 185b5698ad docs: ADR 0073 groups, Combine Objects and Selection-tool modifiers; guide, roadmap, changelog, screenshots (M1)
Fixes #206
Refs #229, #200
2026-11-12 13:53:49 -07:00
Tanish Manku 35367ec286 feat(shell): Selection-tool modifiers, group double-click and menus (M1)
Ctrl/Cmd-drag on a raw line or fill edge pulls a sharp corner out of it
(raw.add_point then raw.move_point, one undo step), with the corner mark by
the pointer; Alt/Option-drag moves a copy and leaves the original; Shift keeps
a move horizontal, vertical or at 45 degrees. A double-click opens a group in
place; the stage menu has Group, Ungroup and Combine Objects.

Refs #229, #200
2026-11-12 13:53:35 -07:00
Tanish Manku 60a269a023 feat(xfl): import DOMGroup as groups, their raw shapes merged with each other (M1)
Before, a DOMGroup was flattened: its members came in as loose drawing
objects. Now it is a group element placed by its matrix, its shapes raw
inside it, merged on open like a keyframe's (ADR 0073).

Refs #206
2026-11-12 13:53:35 -07:00
Tanish Manku f2efea8191 feat(doc): groups (Modify › Group, Ungroup), edited in place, and Combine Objects (M1)
A group element kind holding its members as a one-layer, one-frame timeline
(serde default; older files unchanged), evaluated like an instance on its
layer; every walker (Library uses, sounds, player, HTML export, explorer,
clipboard, Library deletion) sees inside groups. symbol.edit opens a group in
place; the editing stack levels are symbols or groups. modify.group (Ctrl+G),
modify.ungroup (Ctrl+Shift+G), Break Apart on groups, and modify.combine
(Union, Intersect, Punch, Crop) on the planar map. Reserves ADR 0073.

Refs #206, #229
2026-11-12 13:53:34 -07:00
Tanish Manku 0d528dc91e chore: merge main into m6/html-filters 2026-11-12 13:45:13 -07:00
Tanish Manku e259c28086 Merge pull request #256 from storytold/fix/timeline-bones-menus
fix(timeline): timeline, bones, menus and stage fixes from user reports (M1)
2026-11-12 13:41:58 -07:00
Tanish Manku 21540d8b37 test(ui): the selection pattern in a headless window, strokes and hairlines, and each start-up attempt's window setup (M8) 2026-11-12 13:24:46 -07:00
Tanish Manku d7d199adad chore: merge main (soft masks, text on a path, shape armatures) into timeline, bones and menu fixes 2026-11-12 13:19:22 -07:00
Tanish Manku 4f58bc9633 test(render): a type for the filter parity helper's result (M6) 2026-11-12 13:03:17 -07:00
Tanish Manku 04a85d5e50 docs: start-up, file and display fixes in the guide, changelog and roadmap; web release zip script (M8)
packaging/web/package.sh is the app side of the family release workflow's web
job (#210) and runs in the Web CI job; releases keep has-web off until hosting
is decided.
2026-11-12 12:59:31 -07:00
Tanish Manku 1d5b9e1e0c fix(ui): start-up falls back instead of exiting, a start-up log, window graphics choice, full selection shading (M8)
wgpu automatic, DX12 on the low-power GPU on Windows, OpenGL), each under
catch_unwind; a crash marker makes the next start try a way that died in a
driver last; Logs/anicraft.log records attempts, adapter, driver, panics and
slow starts; a message box names it when nothing works. --renderer dx12,
vulkan and metal now select that interface (#255), also in Preferences ›
Stage › Window graphics. A command-line file that can't open says why in the
status bar (#226).

row by row from the top, so a big or zoomed-in shape stopped being shaded part
way down. Fills and wide strokes are now exact per-row spans (active edge
list, fill rule aware) textured with a repeating dot tile: a full 4K view is
721 spans instead of ~920 000 dots.
2026-11-12 12:59:22 -07:00
Tanish Manku c1b5941f12 fix(xfl): one damaged part no longer refuses a .fla, white default stage, the CLI opens Animate files (M8)
Since 0.1 the importer reads bitmaps, sounds and the publish settings from the
package with `?`, so one entry failing its checksum or the archive's limits
refused the whole document (#226). Optional parts are now left out and
reported; damage to DOMDocument.xml still refuses the file. Animate omits the
default white backgroundColor, which imported as black (#163). anicraft-cli
info/render/exports open .fla/.xfl through file.open.

Tests: damaged bitmap/symbol parts (fail before the fix), white stage,
every entry point (file.open, upper-case .FLA, Open Recent, drop routing,
browser vfs) over the corpus, CLI subcommands.
2026-11-12 12:59:10 -07:00
Tanish Manku 329d97e39e chore: merge main (soft masks and text on a path, shape armatures) into HTML filters (M6)
canvas.js combines both: soft-mask artwork draws on the mask's layer, which
has the place and size of the layer it masks (so inside a filtered group it
reaches past the canvas too); the filtering trail records mask modes. New
parity test: filters under and inside alpha and luminance masks against the
oracle's frame (largest difference 4e-7).
2026-11-12 12:58:14 -07:00
Tanish Manku 10a877357c Merge pull request #214 from storytold/m4/svg-soft-masks-textpath
feat(svg): soft masks and text on a path (M4)
2026-11-12 12:54:01 -07:00
Tanish Manku 7318482e4f fix(ui): clippy tidy-ups in the colour picker (M1) 2026-11-12 12:49:49 -07:00
Tanish Manku 49735f8970 docs: guide, changelog and roadmap for the drawing tools and colour fixes (M1) 2026-11-12 12:49:09 -07:00
Tanish Manku b8045a610d fix(ui): Tools-bar swatches open a colour picker with web-safe swatches, recent colours and a hex field (M1) 2026-11-12 12:48:20 -07:00
Tanish Manku 2991482354 docs: regenerate the command reference (M1) 2026-11-12 12:44:27 -07:00
Tanish Manku 4a6bf1c1f4 docs: guide, changelog and roadmap for the timeline, bones, menus and stage fixes (M1) 2026-11-12 12:43:44 -07:00
Tanish Manku 82b13c9cce fix(bones): chains join end to start and grabbed points follow the drag (M1) 2026-11-12 12:42:55 -07:00
Tanish Manku 27ea0459d5 fix(stage): Ctrl-drag on an edge adds a corner point with straight sides (M1) 2026-11-12 12:39:17 -07:00
Tanish Manku 64fb5f0783 fix(platform): a see-through title bar on macOS so the menus show (M1) 2026-11-12 12:38:25 -07:00