Commit Graph
24 Commits
Author SHA1 Message Date
Tanish Manku 0f90ef98bc feat(shell): document tabs above the stage, each with its own session, view and autosave; New and Open bring a tab, closing asks about unsaved changes, quitting asks once for all (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 4a25817937 chore: merge main (guide search and context help) into saved commands (M6)
Context help gains the macro namespace and the Save As Command and Manage Saved Commands
windows; the guide's chapter list numbers both new chapters.
2026-11-16 18:26:04 -07:00
Tanish Manku 98bb6e98e5 feat(app): Save As Command in History, saved commands in the Commands menu, Manage Saved Commands (M6) 2026-11-14 04:13:01 -07:00
Tanish Manku 1538c8e277 feat(app): context help on F1, Help › Help for This and each panel menu, with a checked map to the guide; Using this guide chapter (M8) 2026-11-13 23:57:47 -07:00
Tanish Manku f2fc379841 chore: merge main into m7/asset-warp 2026-11-12 20:22:33 -07:00
Tanish Manku 3aeea1f3d9 feat(ui): the Asset Warp tool: pins, live bending, Properties and a sample (M7) 2026-11-12 19:52:31 -07:00
Tanish Manku 013aebeade chore: merge main (light theme, gradients, docking) into rulers, grid and guides (M1) 2026-11-12 19:48:51 -07:00
Tanish Manku 474109fc5f feat(shell): rulers, grid and draggable guides on the stage, Edit Grid and Edit Guides, snapping Free Transform (M1) 2026-11-12 18:37:33 -07:00
Tanish Manku 120458c89f feat(ui): Colour panel gradients and the Gradient Transform tool (M1)
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.
2026-11-12 14:21:35 -07:00
Tanish Manku 430ebb04ec feat(ui): bones inside shapes with the Bone tool, and the Bind tool (M7) 2026-11-12 00:41:58 -07:00
Tanish Manku f20369e626 feat(shell): Brush Library window, Paint Brush tool, pressure curve editor and velocity (M7) 2026-11-11 20:22:51 -07:00
Tanish Manku 10ec9a084d feat(shell): Find and Replace window and the Movie Explorer tab (M8) 2026-11-11 14:18:09 -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 d54c27b91c feat(ui): Bone tool, bones on the stage, IK posing and bone Properties (M7)
The Bone tool (M) drags from one symbol instance to another to add a
bone (starting on a bone's end continues the chain) and clicks to pick
a bone. Bones draw as wedges in the armature layer's colour, the picked
one in the selection colour. The Selection tool drags a bone or a posed
instance to pose by IK, and the root instance to move the armature; each
drag is one undo step. Properties shows the bone's angle, joint limits,
pin and Remove Bone; Delete removes the picked bone.
2026-11-10 15:11:11 -07:00
Tanish Manku cddd1ea2e0 feat(ui): interface languages: tr! everywhere in the shell, craft-i18n catalogs, pseudo-locale (M8)
A translation layer in the shell (src/i18n): English source text is the
key (tr!, trn! with CLDR plurals, trc!, tr_noop!), catalogs in the
craft-i18n TSV format read by our own parser and embedded from
CRAFT_I18N_DIR by build.rs, fallback app > shared > base > English.
Preferences > Appearance > Language (system language by default) and
--lang for one run. Every shell string and screen-reader name goes through
it; menus translate the registry's labels when drawn, ids stay English.

Guardrails: a source guideline test fails on prose literals outside the
macros, a pseudo-locale accessibility audit fails on untranslated names,
and scripts/i18n-extract.sh writes the translators' template (1173
strings) and per-locale coverage. Lookups: 13 ns from a catalog, 16 ns
pseudo, none in English.
2026-11-10 00:41:54 -07:00
Tanish Manku 3862732928 feat(shell): Eraser (E) with erase modes, Faucet and Erase Everything, and Eyedropper (I) (M7)
The Eraser sweeps the brush tip with a live preview in the stage colour, [ and ] size it, and a double-click on its tool button (or Erase Everything in its options) clears the stage at this frame after asking. The Eyedropper picks a fill (solid, gradient, bitmap) or a line into the tool style, applies it to selected shapes, then becomes the Paint Bucket or the Ink Bottle; Shift-click picks into the other swatch. New original icons; --open eraser|erasing|eyedropper for screenshots.
2026-11-09 22:18:41 -07:00
Tanish Manku 478c70feb8 feat(shell): Brush tool (B) with tool options, pen pressure, live preview and [ ] sizes (M7) 2026-11-09 21:20:59 -07:00
Tanish Manku 5b431ec1d3 feat(app): Camera tool, camera frame on the stage, Preview Through Camera and the camera toggle (M7)
The stage draws the camera frame in the camera layer's colour; the Camera tool
(C) pans, turns (round handle) and zooms (wheel), one undo step per drag;
View > Preview Through Camera renders stage tiles through the camera; the
timeline header toggles the camera; Properties gets a Camera section and a
layer Depth row. GPU parity and the accessibility audit cover camera scenes.
2026-11-09 12:50:31 -07:00
Tanish Manku f18e4c9d4b feat(engine): frame actions, frame scripts on the plug-in host and Test Movie (M6)
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.
2026-11-09 05:18:45 -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 95f4cc607c feat(a11y): screen-reader names for every control, Ctrl+F6 panel focus, high-contrast palette (M8)
- 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.
2026-11-09 04:20:59 -07:00
Tanish Manku 74a7bbe73a feat(render): variable-width strokes with width profiles and a Width tool (M7)
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).
2026-11-09 02:02:05 -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 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