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.
- 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.
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.
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.
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.
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.
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.
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
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
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
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.