Commands: actions.set/clear/list, instance.set_name, control.test_movie
(Ctrl+Enter; headless it plays the movie and reports its output), and
file.new_sample {which: interactive}. Frame-script plug-ins (kind
frame-script, entry points) run on enter-frame with Limits::frame_script:
20 M instructions shared per frame, 100 ms, ops player/action/actions/log,
no commands; plugin.run refuses them.
App: Test Movie window (player at the document frame rate, pointer to
buttons, Output panel, restart/pause/step, snapshot of the document),
Actions panel (F9) with structured action lists for keyframes, movie clip
timelines and button/movie clip events, instance name and events in
Properties, an 'a' mark on keyframes with actions.
anicraft-actions (L0): typed actions (stop, play, go to a frame or label in
a scene, next/previous frame and scene, trace, set property), instance-name
target paths, button events, plug-in frame-script references.
anicraft-doc: keyframes carry a FrameScript, symbol instances carry event
handlers (serde defaults, sanitized on load). player::{start, step} steps a
PlayerState (scene, playheads, script-set properties, pointer) with budgets;
evaluate_player draws it; evaluate stays pure and unchanged.
* Box blurs of an even width were half a pixel off centre: now centred (one more
pixel each side at half weight), so bevels stay symmetric.
* Inner effects blur the transparency around the artwork, so every side gets the
full margin (inner Glow and Drop Shadow came out weak near the buffer edge).
* The reach past the surface is capped by area, keeping the padding around the
artwork on wide surfaces (a 4096 px surface clipped shadows to the artwork).
* SVG: filter regions are the stage grown by the reach in user space; ramp tables
have the CPU's 257 samples.
* Ramps: one pinned stop, others step aside (sanitize is idempotent); XFL ramps
use one ratio scale; the panel edits sanitized filters, keeps moved stops between
their neighbours and clear of the pin, and adds a stop from the keyboard.
Model (FilterSide inner/outer/full, ramps with a pinned transparent rest stop),
CPU oracle (signed offset-difference field of the blurred opacity; ramp table),
SVG export with standard primitives, element.set_filters with hex colours and
ramp stops, XFL import of BevelFilter, GradientGlowFilter and
GradientBevelFilter, and Properties > Filters rows with a compact ramp editor.
Per 400x300 buffer, blur 16, quality Medium (release): Glow 0.87 ms, Bevel
1.33 ms, Gradient Glow 1.66 ms, Gradient Bevel 2.42 ms.
- Stage stays fitted when the canvas changes size (window, docks, scale).
- Docks start proportional to the window and never crowd out the stage.
- Tools column scrolls; the timeline header scrolls sideways instead of
clipping; the status message truncates before the readouts, which drop
diagnostics when narrow, and is a polite live region for screen readers.
- Layer-count hint moves into the Layers header row.
- anicraft --theme graphite|high-contrast --scale <percent> (not saved).
- a11y module: names and roles for custom-painted controls (tools, layer
toggles, icon buttons, library rows), Named for value-only widgets,
focus rings, panel anchors and Ctrl+F6 / Ctrl+Shift+F6 cycling.
- Headless test walks egui's AccessKit tree in 22 UI states and fails on
interactive nodes without a name or role.
- theme: runtime palette (Graphite, High contrast) behind T; new tokens
on_active, icon_hot, on_fill, accent_text, control_outline.
- Contrast test covers both palettes; fixes two graphite AA misses
(playhead number, accent-coloured text) and text_faint on headers.
Preferences > Stage > Renderer (and View > Stage Rendering) choose CPU
(reference) or GPU (preview) in builds with --features gpu-stage. The
renderer starts off the UI thread; the status bar says who drew the
visible tiles and why the CPU stepped in. ANICRAFT_STAGE_RENDERER
overrides the preference (also for --screenshot).
New crate anicraft-gpu (L3): the CPU oracle prepares the fills
(render::plain_fills: flattening, strokes, shaders and gradient tables,
culling), binning sorts edge pieces into 16x16 tiles with per-row
backdrops, and one compute pass computes each pixel's exact area coverage
and composites in display-list order. Masks, groups and bitmaps are
handed back (NeedsFull) for the CPU to draw.
Parity on an RTX 5090 (Vulkan): max 1/255, mean < 0.0001/255 on the
sample and stress scenes; tests skip with a message without an adapter.
Stage playback plays the movie's sounds through cpal (optional default
feature sound-output) and the playhead follows the audio clock; a moved
playhead plays a one-frame snippet of stream sounds (scrubbing). The device
opens on first need, never in screenshot runs or tests, and a failure falls
back to silent wall-clock playback.
Timeline rows draw each keyframe's waveform over its span, repeats
included. Frame Properties gain Sound, Sync and Repeat/Loop. The Library
lists sounds with Preview, Place on timeline and Delete. Import to Stage
and Import to Library take WAV, OGG and MP3; Export Audio writes the
soundtrack.
New L0 crate anicraft-audio: WAV reader/writer, Ogg Vorbis (lewton) and MP3
(nanomp3) decoding with hard size caps and a panic guard, a pure stereo
mixer (sample-exact at equal rates, Catmull-Rom resampling otherwise),
waveform peaks and a device-independent Player.
Document: Sound library items (the imported bytes, decoded once), a
FrameSound on keyframes (Event/Start/Stop/Stream, repeat, loop), and
sound::voices(), the pure layout of the movie's sounds in time.
Commands: file.import_to_library, Import to Stage for sounds, sound.place/
set/remove/delete/rename, file.export_audio, and the soundtrack in
file.export_video (Opus in WebM, AAC in MP4, by the user's ffmpeg).
Timeline | Motion Editor tabs share the dock (Window menu too; double-click a
motion span to open it). Property list with values at the playhead (drag to
key) and key toggles; a curve graph per property: drag keys, drag the Bezier
handles of a segment, click to scrub, double-click to add a key; each drag is
one undo step. Motion spans are sky blue with property-key diamonds; Create
Motion Tween in the header, right-click menu and Properties.
--open motion / motionspan show it for screenshots.
The shell schedules recovery copies (every minute or 25 changes, set in
Preferences > Files > Autosave, with an off switch) on the engine's
Autosaver, waking itself when the interval runs out; the recovery folder
comes from platform::recovery_dir. A non-blocking window offers work left
by crashed sessions; File > Recover Autosaved Documents brings it back.
Clean exits and saves remove the copy. Preferences scroll when taller
than the window. bench measures one autosave.
- assets/app-icon: the rabbit vectorised onto the shared Crafting Apps
tile (512 viewBox, rx 112) with a neutral white paper tone; renders for
Windows (.ico), Linux (hicolor) and Apple's icon grid (padded tile);
trace.py and scripts/icons.sh regenerate them.
- The app shows it on the window, the macOS Dock, the Windows taskbar
and anicraft.exe (winresource), and in Help > About (--open about).
- README: icon header, screenshots, the sample animation as a GIF,
quick start, status, downloads and the Crafting Apps table.
- ATTRIBUTION and CHANGELOG rows for the new files.
Strokes carry an optional width profile (width points: position by arc
length, left/right factors of the nominal width; monotone cubic between
points). The CPU oracle outlines them as positive trapezoids, outer-side
round joins and cross-section caps; SVG and Lottie write the same polygons
as filled outlines. stroke.* commands, a profile picker in Properties and
the tools' options, the Width tool (U) on stage, shape tweens blend
profiles. Also fixes Rect::transformed leaving flat rects untransformed
(horizontal lines missed bounds checks).