Commit Graph
35 Commits
Author SHA1 Message Date
Tanish Manku d5d9a1a4fb fix(stage): a zoom gesture draws once it rests, and tiles of states and zooms no longer shown go (M8)
The stage tells the render service which picture set is on screen, drops the
textures of other sets when the view is whole, asks for nothing while the zoom
is changing, and in the browser draws for at most 8 ms of a frame while moving
around. ADR 0132, changelog, roadmap. #314, #477, P-004.
2026-11-23 18:29:25 -07:00
Tanish Manku 1ed8b1a110 docs: architecture.md and seven ADR status lines match the code (M8) 2026-11-20 21:09:21 -07:00
Tanish Manku b70d0fb1dd docs: ADR 0112, the guide's document tabs, copying between documents and recovery sections, its pictures, roadmap and changelog (M8) 2026-11-18 01:25:26 -07:00
Tanish Manku e3210f6288 docs: ADR 0110, roadmap, changelog, performance and licence records for stroke coverage (M3) 2026-11-17 23:34:19 -07:00
Tanish Manku 82127612af docs: ADR 0098 mixed armatures; guide, roadmap, architecture, changelog (M7) 2026-11-16 18:33:19 -07:00
Tanish Manku 340512ef4f docs: ADR 0048 GPU binning and hairlines, performance, roadmap, changelog, attribution (M3) 2026-11-10 20:24:19 -07:00
Tanish Manku 260f07d5c0 docs: ADR 0046 stroke caps, joins and dashes; roadmap, changelog, attribution (M7) 2026-11-10 18:55:24 -07:00
Tanish Manku 2edcc7fd93 docs: ADR 0013 tier 2 as built, roadmap M6, changelog, attribution (M6) 2026-11-10 16:42:34 -07:00
Tanish Manku 0421ba5dd1 chore: merge main (Bone tool and IK) into localisation; its strings through tr! (M8) 2026-11-10 15:49:58 -07:00
Tanish Manku 1c9a88ebc4 docs: ADR 0043 bones and inverse kinematics, roadmap, changelog, attribution (M7) 2026-11-10 15:15:19 -07:00
Tanish Manku 562dd48e3f chore: merge main (sound effects, ActionScript tier 1, motion path points) into localisation; new strings still to route through tr! (M8) 2026-11-10 00:58:12 -07:00
Tanish Manku 4f10fa7939 docs: ADR 0040 interface languages, localisation guide, roadmap, changelog (M8) 2026-11-10 00:42:06 -07:00
Tanish Manku d7c0434a25 chore: merge main (ActionScript tier 1) into sound effects; tests build with Symbol.linkage (M5) 2026-11-10 00:35:46 -07:00
Tanish Manku 6c4fd5d6be docs: ActionScript tier 1 built (ADR 0013), roadmap, changelog (M6) 2026-11-10 00:10:50 -07:00
Tanish Manku 208b175b25 docs: ADR 0039 sound effects, layer volume and symbol sounds; roadmap, changelog (M5) 2026-11-10 00:02:27 -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 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 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 dd02ca9884 docs: ADR 0027 camera layer and layer depth; architecture, roadmap, changelog, attribution (M7) 2026-11-09 12:50:31 -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 723345d308 docs: shape hints ADR 0023, changelog, roadmap (M2) 2026-11-09 04:43:32 -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 9173796835 docs: GPU stage ADR is 0019, as assigned by the lead (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 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 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 ef624e3761 chore: rebase on main (autosave); plug-ins ADR renumbered to 0017 (M6) 2026-11-09 03:32:06 -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 e3913afa36 Initial commit v0.1.0 early alpha
AniCraft 0.1.0 (early alpha): milestones M0 and M1. Contributors are credited in AUTHORS.md.
2026-11-05 23:58:25 -07:00