Commit Graph
209 Commits
Author SHA1 Message Date
Tanish Manku 6e8749ff4b feat(engine): bone.paint_weights, bone.set_weight, and Subselection edits that reshape a bound shape at rest (M7) 2026-11-13 19:26:11 -07:00
Tanish Manku 8597b93d90 chore: merge main into m4/lottie-eased-keys 2026-11-13 18:59:14 -07:00
Tanish Manku 7f34d80838 fix(engine): as_chunks in the Lottie parity test for newer clippy (M4) 2026-11-13 18:18:13 -07:00
Tanish Manku 55f1a8e3c1 docs: ADR 0089, the guide's export chapter, roadmap and changelog for Lottie keyframes and eases (M4) 2026-11-13 17:52:03 -07:00
Tanish Manku 2575050a70 test(engine): Lottie playback parity against the CPU oracle (M4)
A Lottie player written for the test from the public format description
plays the exported animation through the oracle at every frame, for the
sample scenes, a movie of every tween and ease, and the XFL corpus.
2026-11-13 17:50:26 -07:00
Tanish Manku 435b85f560 test: shell tests for the export window, plug-in eases and the Plug-ins window; shared plug-in test helpers; an empty export path is refused (M6) 2026-11-13 17:36:04 -07:00
Tanish Manku e92cdf98b6 feat(engine): exporter plug-ins (file.export_plugin, file.export_formats) and plug-in eases; anicraft-cli export and formats (M6) 2026-11-13 17:35:49 -07:00
Tanish Manku 51d8da5563 feat(doc): sampled eases from ease plug-ins, kept in the document (M6) 2026-11-13 17:35:49 -07:00
Tanish Manku 99540b230f chore: merge main into m4/xfl-sound-video 2026-11-13 16:08:48 -07:00
Tanish Manku 6f690c0daa chore: merge main (ease presets, camera depth, bones) into Motion Editor retiming (M2)
Property keys hold an Easing that is no longer Copy (ADR 0081), so retiming clones them.
2026-11-13 13:07:41 -07:00
Tanish Manku 1f3e603b7f feat(xfl): sound effects and envelopes, named reports, Screen Video stills, top-folder and self-extracting .fla archives (M4) 2026-11-13 02:36:14 -07:00
Tanish Manku 2423b42533 chore: merge main into m7/bones-spring 2026-11-13 02:22:03 -07:00
Tanish Manku 6a488602f7 feat(engine): motion.move_keys, timeline.resize_span and move_spans, Split and Join Motion (M2) 2026-11-13 00:57:49 -07:00
Tanish Manku c92093d626 chore: merge main (camera depth, drawing leftovers, Asset Warp) into ease presets (M7) 2026-11-13 00:56:53 -07:00
Tanish Manku 42a69a3b59 feat(engine): joint translation, bone springs and member properties in place (M7) 2026-11-13 00:54:20 -07:00
Tanish Manku 5136eef95b feat(doc): joint translation and bone springs in the armature model (M7) 2026-11-13 00:53:41 -07:00
Tanish Manku c9fdd00fb3 chore: merge main (drawing leftovers, Asset Warp) into camera depth (M7) 2026-11-13 00:26:19 -07:00
Tanish Manku 9508126dc6 fix(modify): warped artwork takes no envelope and doesn't open in place (M1) 2026-11-12 21:30:22 -07:00
Tanish Manku a6b79c5f77 docs: ADR 0080, the drawing guide, roadmap and changelog for the drawing parity leftovers (M1) 2026-11-12 21:28:10 -07:00
Tanish Manku 47d89cf193 feat(modify): Envelope bends shapes by a mesh of handles, one undo step per drag (M1) 2026-11-12 21:27:55 -07:00
Tanish Manku e035979e8c feat(edit): double-click a drawing object to edit it in place (M1) 2026-11-12 21:27:54 -07:00
Tanish Manku 0b7da56e48 test(brush): inside is a paint mode now (M1) 2026-11-12 21:27:54 -07:00
Tanish Manku 029a3c00b0 feat(brush): Paint Selection and Paint Inside clip the paint to a region (M1) 2026-11-12 21:27:54 -07:00
Tanish Manku e9b2e34d99 feat(draw): PolyStar polygon or star, sides and point size (M1) 2026-11-12 21:27:54 -07:00
Tanish Manku ebf9fe41a1 fix(engine): box the recovery worker's document so the job enum stays small (M7) 2026-11-12 21:13:43 -07:00
Tanish Manku 90d4d9107e feat(tweens): ease presets, custom multi-segment eases and saved eases (M7)
- doc: Classic Ease and nine families (Quad, Cubic, Quart, Quint, Sine, Back,
  Circ, Bounce, Elastic) In/Out/InOut as pure functions of t; CustomEase of
  up to 64 Bezier points, always valid (x monotonic, ends pinned, values
  bounded), with exact split, move, handle, smooth/corner and delete edits;
  saved eases in the document; classic tweens ease position, rotation,
  scale, colour and filters separately; instance filters now tween.
- engine: ease.* commands (info, set, add/move/delete/convert point, move
  handle, separate, save, delete, rename, list, copy, paste); saved eases and
  custom curves in timeline.set_easing and motion.set_ease; plug-in policy.
- xfl: multi-segment and per-property custom eases import exactly; corpus
  gains a per-property layer, goldens and probes updated.
- shell: ease menu with curve thumbnails and saved eases in the timeline,
  Properties and Motion Editor; Custom Ease window (graph, keyboard, typed
  values, save, copy/paste, property groups).
- tests: preset values, fits, monotonic x after random edits, hostile
  curves, fuzz, file round trip, HTML runtime parity, Lottie bake.
2026-11-12 21:06:55 -07:00
Tanish Manku 406007566c chore: merge main (Swatches panel) into Asset Warp (M7) 2026-11-12 20:50:48 -07:00
Tanish Manku 617c8c6963 feat(camera): layer depth over time in perspective, attaching layers, camera colour effects and editing through the camera (M7) 2026-11-12 20:50:47 -07:00
Tanish Manku f2fc379841 chore: merge main into m7/asset-warp 2026-11-12 20:22:33 -07:00
Tanish Manku 25739470fe chore: merge main (rulers, grid and guides) into the Swatches panel (M1)
Also mends the M1 roadmap row, which main carried with conflict markers (gradients and rulers both kept).
2026-11-12 20:17:13 -07:00
Tanish Manku aff4693217 feat(engine): warp.add, warp.pin_add, warp.pin_move, warp.pin_remove, warp.remove, warp.info (M7) 2026-11-12 19:52:31 -07:00
Tanish Manku a9e48b1184 feat(doc): warp meshes on shapes and bitmaps, bent by pins (rigid MLS), pins tween (M7) 2026-11-12 19:52:31 -07:00
Tanish Manku 013aebeade chore: merge main (light theme, gradients, docking) into rulers, grid and guides (M1) 2026-11-12 19:48:51 -07:00
Tanish Manku f526570e79 feat(ui): Swatches panel, document swatches in the pickers, and an icon layer footer (M1) 2026-11-12 19:34:44 -07:00
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 bc7637638e feat(engine): guides per scene, grid settings and one snap engine for guides, grid and pixels (M1) 2026-11-12 18:37:23 -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 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 d95ca84939 chore: merge main into fix/startup-files-display 2026-11-12 14:57:27 -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 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 b08211833b chore: merge main (HTML filters, timeline fixes, soft masks) into drawing-tool fixes 2026-11-12 14:18:32 -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 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 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