Commit Graph
85 Commits
Author SHA1 Message Date
Tanish Manku 3fc4063446 fix(gpu): as_chunks instead of chunks_exact with constant sizes (newer clippy) (M3) 2026-11-09 03:44:33 -07:00
Tanish Manku 3bc51e4016 docs: M3 track's next task after the GPU stage first slice (M3) 2026-11-09 03:44:33 -07:00
Tanish Manku 38209b8913 docs: ADR 0014 GPU stage, measured timings, roadmap and status (M3) 2026-11-09 03:44:33 -07:00
Tanish Manku 640186669e feat(shell): gpu-stage feature with a Preferences renderer switch and status (M3)
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).
2026-11-09 03:44:28 -07:00
Tanish Manku 5a38209b8a feat(engine): pluggable rasterizer in the render service, CPU fallback per job (M3) 2026-11-09 03:44:28 -07:00
Tanish Manku 2f3ab271d9 feat(gpu): wgpu stage renderer over the oracle's fills, with parity tests (M3)
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.
2026-11-09 03:44:28 -07:00
Tanish Manku 0947b7df20 Merge pull request #68 from storytold/m6/wasm-plugins
feat(plugins): sandboxed WebAssembly plug-ins over the command registry (M6)
2026-11-09 03:42:20 -07:00
Tanish Manku c37bd08afc fix(plugins): plug-ins may call motion tween commands, like other document edits (M6) 2026-11-09 03:33:27 -07:00
Tanish Manku ef624e3761 chore: rebase on main (autosave); plug-ins ADR renumbered to 0017 (M6) 2026-11-09 03:32:06 -07:00
Tanish Manku af93291819 feat(plugins): bound the total size of a run's requests (M6) 2026-11-09 03:31:56 -07:00
Tanish Manku 74df1c63e7 docs: M6 track moves on to frame scripts once the plug-in host lands (M6) 2026-11-09 03:31:56 -07:00
Tanish Manku e1e790fe79 docs: plug-in ABI v1 (docs/plugins.md), ADR 0014, roadmap, changelog, attribution and compliance (M6) 2026-11-09 03:31:56 -07:00
Tanish Manku f10746bc48 feat(plugins): Commands menu with Plug-ins, generated dialog with live preview, Plug-ins window, palette entries (M6) 2026-11-09 03:31:51 -07:00
Tanish Manku f99d34c2db feat(plugins): sample Star Field and Jitter Selection plug-ins in Rust with a guest SDK; anicraft-cli --plugins (M6) 2026-11-09 03:31:44 -07:00
Tanish Manku b765aa12ec feat(engine): plugin.install/list/run/remove/reload over the command registry, one undo step per run (M6) 2026-11-09 03:31:44 -07:00
Tanish Manku 0aedae7da3 feat(plugins): sandboxed WebAssembly plug-in host (wasmi, ABI v1, limits, registry) (M6) 2026-11-09 03:31:33 -07:00
Tanish Manku f8a9c56573 Merge pull request #66 from storytold/m2/motion-tweens
feat(timeline): motion tweens with property curves and a first Motion Editor (M2)
2026-11-09 03:31:29 -07:00
Tanish Manku 60712c0b08 chore: rebase on main (autosave, app icon); motion tweens ADR renumbered to 0016 (M2) 2026-11-09 03:25:12 -07:00
Tanish Manku 3da1a9712a fix(shell): compact timeline header with the Motion Editor tab (M2)
One Create tween menu (motion, classic, shape) instead of three buttons,
narrower ease/kind combos and zoom slider, so the header fits at 1280 px.
2026-11-09 03:23:23 -07:00
Tanish Manku 1c673327c2 docs: ADR 0014 motion tweens; roadmap and changelog (M2) 2026-11-09 03:23:23 -07:00
Tanish Manku f41892b87f feat(shell): Motion Editor tab and motion tween spans on the timeline (M2)
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.
2026-11-09 03:23:18 -07:00
Tanish Manku 28a1b1f6ab feat(doc): motion tween spans with property curves, auto-key and motion.* commands (M2)
Keyframe.motion holds a motion tween: one target object, a track of property
keys per property (x, y, scale, rotation, skew, alpha, tint) with a per-segment
ease (any Easing, including a custom cubic Bezier). evaluate stays pure.
Commands: timeline.create_motion_tween, motion.set_key/remove_key/set_ease/info.
Edits made inside a motion span become property keys (auto-key) for every
command, via the session; F6 keys every property; splits keep the motion.
2026-11-09 03:23:05 -07:00
Tanish Manku f13b07280c Merge pull request #65 from storytold/m8/autosave
feat(app): crash-recovery autosave (M8)
2026-11-09 02:29:25 -07:00
BFlat fc113079f4 App icon: keep the field-colour gap at the tile edges (#72)
The rabbit ran to the right and bottom edges of the tile. Clip the art 6
units inside the tile (a concentric rx 106 rounded square), so a 6-unit
band of field colour runs round every edge and corner, as on the other
Crafting Apps icons (12 px at 1024). Every render is regenerated.
2026-11-09 17:24:07 +08:00
Tanish Manku 83c542b11a docs: renumber the autosave ADR to 0015 after the XFL text ADR took 0014 (M8) 2026-11-09 02:19:42 -07:00
Tanish Manku b467344408 docs: crash-recovery autosave, ADR 0014 and measured cost (M8)
perf numbers (release, 32 threads), 200k-instance 65 MB stress document:
editing thread 6.6-15.4 us, serialize 124-128 ms, write+fsync+rename
52-55 ms, background total 183-184 ms. 800k instances (262 MB): 9.9 us
on the editing thread, 725 ms in the background.
2026-11-09 02:19:41 -07:00
Tanish Manku ade67dcc9a feat(app): background autosave with Restore / Discard / Later on start (M8)
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.
2026-11-09 02:19:34 -07:00
Tanish Manku 31eebedc3a feat(engine): crash-recovery copies, session locks and a background autosaver (M8)
recovery.rs: atomic recovery copies (temp + fsync + rename) under validated
session ids, an OS file lock per running session so only copies left by
sessions that ended without a clean exit are offered, and an Autosaver
thread that serializes Arc snapshots off the caller's thread, coalescing to
the newest job. Commands: file.recovery_list, file.recover (unsaved, with the
original path unless that file is newer), file.discard_recovery (always
confirms), file.autosave.
2026-11-09 02:19:28 -07:00
BFlat 3d968294fa App icon (engraved rabbit) and README with screenshots (#70)
- 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.
2026-11-09 17:15:01 +08:00
Tanish Manku 0937d75d7a Merge pull request #64 from storytold/m4/xfl-text
feat(xfl): text from Animate documents as text blocks (M4)
2026-11-09 02:09:36 -07:00
Tanish Manku ef31d386ae docs: ADR 0014 text from Animate documents; roadmap and changelog (M4) 2026-11-09 01:51:06 -07:00
Tanish Manku 95131360bd feat(xfl): import text fields as text blocks, report missing fonts (M4) 2026-11-09 01:51:06 -07:00
Tanish Manku ca7eb53b45 feat(text): find faces by PostScript name, guess families, report line metrics (M4) 2026-11-09 01:51:06 -07:00
Tanish Manku d69ead2afc feat(xml): keep elements' character data (M4) 2026-11-09 01:51:05 -07:00
Tanish Manku 5bd52ba52e Merge pull request #63 from storytold/docs/parallel-tracks
docs: parallel milestone tracks; AniCraft name settled
2026-11-09 01:43:21 -07:00
Tanish Manku 9584efb633 docs: parallel milestone tracks; AniCraft name settled by the project lead 2026-11-09 01:34:48 -07:00
Tanish Manku f46189f1d0 Merge pull request #47 from storytold/docs/actionscript-roadmap
docs: ActionScript compatibility on the roadmap (ADR 0013)
2026-11-08 17:11:22 -07:00
Tanish Manku 09d7158411 docs: ActionScript compatibility on the roadmap (ADR 0013); XFL import reports frame scripts
Keep scripts, then run the ActionScript 3 timeline subset through the shared
action IR (M6, low priority). The full language and SWF bytecode are not planned.
The XFL importer now counts dropped frame scripts in its report.
2026-11-08 17:04:20 -07:00
Tanish Manku bcab1b4383 Merge pull request #37 from storytold/feat/filters
feat(render): filters on movie clips
2026-11-07 14:14:18 -07:00
Tanish Manku efcb969c3a feat(render): filters on movie clip and button instances (drop shadow, blur, glow, adjust color) 2026-11-06 23:24:27 -07:00
Tanish Manku b445149179 Merge pull request #36 from storytold/feat/blend-modes
feat(render): blend modes on movie clips
2026-11-06 23:16:19 -07:00
Tanish Manku 2914644f37 feat(render): blend modes on movie clip and button instances 2026-11-06 23:07:53 -07:00
Tanish Manku 06eceb9371 Merge pull request #35 from storytold/feat/text
feat(text): Text tool and text blocks (ADR 0012)
2026-11-06 23:02:09 -07:00
Tanish Manku c00164b5d2 feat(text): Text tool and text blocks laid out into stored outlines (ADR 0012) 2026-11-06 22:53:46 -07:00
Tanish Manku c6c0c57142 Merge pull request #34 from storytold/feat/lottie-export
feat(export): Lottie animation export
2026-11-06 22:41:56 -07:00
Tanish Manku 63b39355ea feat(export): Lottie animation export, frame-accurate (file.export_lottie) 2026-11-06 22:34:03 -07:00
Tanish Manku ba7332b106 Merge pull request #33 from storytold/perf/render-1080p
perf(render): 1080p back under the 60 fps budget
2026-11-06 22:27:57 -07:00
Tanish Manku 9adaf9dd5d perf(render): 1080p back under budget (19.8 -> 15.5 ms): parallel background fill, early edge rejection, deferred frees
Measured with anicraft-cli bench (release, 32 threads), 3 runs each: render_1080p 19.4-20.2 -> 15.3-15.8 ms, render_zoom400 11.6-11.9 -> 9.0-9.3 ms. Output byte-identical.
2026-11-06 22:19:38 -07:00
Tanish Manku 815b823d01 Merge pull request #32 from storytold/perf/ci-budgets
perf: budgets with enforcement (tests + bench --check)
2026-11-06 22:18:53 -07:00
Tanish Manku ada6505bcd perf: enforce machine-independent budgets in tests; bench --check for timing budgets 2026-11-06 22:10:34 -07:00