Commit Graph
78 Commits
Author SHA1 Message Date
Tanish Manku a87728ba50 chore: merge main (eraser, eyedropper, XFL corpus) into the web build (M8) 2026-11-09 23:15:49 -07:00
Tanish Manku 2cf35d83d8 chore: merge main (eraser, eyedropper) into the XFL corpus (M4) 2026-11-09 23:02:33 -07:00
Tanish Manku 431266a897 docs: web build ADR 0036, docs/web.md, roadmap, changelog, architecture and compliance (M8) 2026-11-09 22:38:01 -07:00
Tanish Manku 690e0311f4 docs: Eraser and Eyedropper ADR 0034, roadmap, changelog and attribution (M7) 2026-11-09 22:21:07 -07:00
Tanish Manku a629801d08 docs: ADR 0035 for the XFL corpus and golden renders, ADR 0009 testing, roadmap, changelog and attribution (M4) 2026-11-09 22:17:53 -07:00
Tanish Manku fc281d4aa8 docs: Brush tool ADR 0033, roadmap, changelog and attribution (M7) 2026-11-09 21:22:33 -07:00
Tanish Manku 863e8af60a fix(gpu): tests and bench build with merge drawing's Shape.merge; ADR renumbered to 0032 after merge drawing took 0031 (M3) 2026-11-09 20:45:47 -07:00
Tanish Manku 02c4e1fc13 chore: merge main into the GPU stage third slice (M3) 2026-11-09 20:44:05 -07:00
BFlat e8bbc45dab Merge drawing, first slice: raw shapes cut and join as in Animate (#92)
Part of #42. ADR 0031: raw shapes cut and join on the layer (exact Bezier planar merge), Object Drawing (J), dot-pattern selection, double-click connected, drop on move, screen-pixel nudge.
2026-11-10 10:08:36 +07:00
Tanish Manku 313745b204 feat(gpu): the GPU is the default stage renderer; ADR 0031 (M3)
The shell's gpu-stage feature is on by default and Preferences > Stage >
Renderer defaults to Graphics card (GPU), with the CPU drawing whenever
there is no usable card, a tile is past the GPU's limits or anything
fails. The setting is stored under a new key: every earlier build wrote
the old one as Cpu without anyone choosing it. CI installs lavapipe so the
parity tests run on a software adapter.

Measured (release, RTX 5090): 4K filtered sample 3.9 ms on Vulkan and
4.2 ms on DX12 (CPU 31.5 ms); 200 bitmap fills 4.4 / 4.3 ms (CPU 37.2 ms).
Docs: ADR 0031, performance, roadmap, architecture, CHANGELOG.
2026-11-09 19:48:49 -07:00
Tanish Manku bccb5e4df7 chore: merge main (GPU stage, second slice) into motion paths (M2) 2026-11-09 17:50:15 -07:00
Tanish Manku 25f0685bbb docs: ADR 0030 motion paths, CHANGELOG, roadmap (M2) 2026-11-09 17:13:50 -07:00
Tanish Manku eb85dd2411 feat(gpu): GPU stage draws into the window's textures, no readback; ADR 0029 (M3)
The GPU stage shares eframe's wgpu device (egui_wgpu::RenderState) and
draws each stage tile into a storage texture the shell registers with
egui as it is. Fallbacks: a headless device with readback (window on
OpenGL), then the CPU oracle. Every call runs in thread-local error
scopes; nothing is installed on the window's device; a work bound per
dispatch guards the driver watchdog.

The engine stays GPU-free: Raster::Native carries an opaque image, cached
under its own 384 MB budget; only the shell downcasts it.

perf, gpu_bench on RTX 5090 (Vulkan), 32 threads:
  4K, 1,000 shapes: CPU 16.2-19.6 ms, read-back 8.4, direct 2.1-2.4 ms
  4K, 10k shapes:   CPU 25.8-28.1 ms, read-back 23.2, stage tiles 10.2 ms
  4K, masked 10k:   CPU 74.8-80.0 ms, stage tiles 10.9 ms
Binning stays on the CPU (ADR 0029: not the bottleneck as stage tiles).
2026-11-09 16:58:49 -07:00
Tanish Manku a7b3b0f2fa feat(engine): file.export_html, File > Export > Export HTML Canvas; ADR 0028, docs (M6) 2026-11-09 13:22:19 -07:00
Tanish Manku 62c5abf9cf chore: merge main (packaging, filters) into the camera layer (M7) 2026-11-09 13:10:26 -07:00
Tanish Manku dd02ca9884 docs: ADR 0027 camera layer and layer depth; architecture, roadmap, changelog, attribution (M7) 2026-11-09 12:50:31 -07:00
Tanish Manku d05c12effd fix(shell): release builds are Windows GUI programs, no console window (M8)
The packaging's PE check found anicraft.exe used the console subsystem, so a console window
opened beside the app. Debug builds keep the console for logs.
2026-11-09 12:29:32 -07:00
Tanish Manku 3e5df30ac5 docs: installers, signing and publishing; ADR 0026 (M8) 2026-11-09 12:29:32 -07:00
Tanish Manku 996d7220a8 chore: merge main (frame scripts, Test Movie) into bevel and gradient filters (M5) 2026-11-09 05:39:38 -07:00
Tanish Manku a0dd41657f docs: ADR 0024 frame actions, frame scripts and Test Movie; plug-in ABI, roadmap, changelog (M6)
Also keeps frame-script plug-ins out of Commands > Plug-ins and the palette
(the Plug-ins window says where they are used instead).
2026-11-09 05:18:52 -07:00
Tanish Manku 9c7f65d305 feat(doc): timeline action IR and a pure interactive player (M6)
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.
2026-11-09 05:18:14 -07:00
Tanish Manku e3549b9bda fix(filters): review: centred even blurs, inner margins, area-capped reach, SVG region and ramp tables, stable ramp editing (M5)
* 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.
2026-11-09 05:17:39 -07:00
Tanish Manku 841eb5888c docs: bevel and gradient filters: ADR 0025, changelog, roadmap, attribution (M5) 2026-11-09 05:17:32 -07:00
Tanish Manku 723345d308 docs: shape hints ADR 0023, changelog, roadmap (M2) 2026-11-09 04:43:32 -07:00
Tanish Manku 261dc14567 chore: merge main (variable-width strokes) into accessibility; the width profile picker and previews are named for screen readers (M8) 2026-11-09 04:32:58 -07:00
Tanish Manku 9df92ae882 docs: reflow ADR 0022 (M8) 2026-11-09 04:23:10 -07:00
Tanish Manku 069cfdee43 feat(a11y): name the Sound properties from main; audit a sound keyframe too (M8) 2026-11-09 04:23:04 -07:00
Tanish Manku 6ad1f3db09 docs: accessibility guide, ADR 0022, guidelines, changelog and roadmap (M8) 2026-11-09 04:21:29 -07:00
Tanish Manku d85e398c4a chore: merge main (GPU stage, SVG clips) into variable-width strokes; GPU parity covers width profiles (M7) 2026-11-09 04:17:57 -07:00
Tanish Manku 3c79f97701 chore: merge main (SVG clips and text) into the GPU stage (M3) 2026-11-09 04:07:01 -07:00
Tanish Manku 6b8e3cb26f chore: merge main (audio, plug-ins, motion tweens) into variable-width strokes; ADR renumbered to 0018; plug-ins may edit stroke widths (M7) 2026-11-09 04:00:33 -07:00
Tanish Manku 244e21527b chore: merge main (audio, plug-ins, motion tweens) into the GPU stage (M3) 2026-11-09 03:58:26 -07:00
Tanish Manku 7e7d3a29d0 chore: merge main (audio, plug-ins, motion tweens) into SVG clips and text; fix an ADR reference (M4) 2026-11-09 03:57:17 -07:00
Tanish Manku de6cd9b164 chore: rebase on main (motion tweens, plug-ins); plug-ins may edit library sounds; licence inventory regenerated (M5) 2026-11-09 03:46:44 -07:00
Tanish Manku 9173796835 docs: GPU stage ADR is 0019, as assigned by the lead (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 d1798ee6c5 docs: one decisions list in performance.md after the rebase (M5) 2026-11-09 03:43:36 -07:00
Tanish Manku b5f3b5463e docs: audio decision record is ADR 0020, as assigned by the lead (M5) 2026-11-09 03:43:36 -07:00
Tanish Manku cf7e39c251 docs: audio decision record renumbered to ADR 0015 after the XFL text ADR took 0014 (M5) 2026-11-09 03:43:35 -07:00
Tanish Manku 23715fc937 docs: sound timings before the decisions list in performance.md (M5) 2026-11-09 03:43:28 -07:00
Tanish Manku b7748949d1 docs: sound and audio layers (ADR 0014), roadmap, changelog, compliance, CI ALSA headers (M5)
Measured (release, 120 s 48 kHz stereo): decode WAV 129 ms, Ogg 147 ms,
MP3 99 ms; export_audio 95 ms at 48 kHz, 128 ms resampled to 44.1 kHz
(about 1000x real time).
2026-11-09 03:43:28 -07:00
Tanish Manku 84d9154fe0 docs: ADR 0021 clip paths, masks and text from SVG; roadmap and changelog (M4) 2026-11-09 03:36:34 -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 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 1c673327c2 docs: ADR 0014 motion tweens; roadmap and changelog (M2) 2026-11-09 03:23:23 -07: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