Files
AniCraft/docs/roadmap.md
T

299 lines
129 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AniCraft roadmap
The planned milestones (M0 to M8) are done. From here the roadmap is a **guideline, not a
timeline** ([ADR 0125](adr/0125-the-roadmap-as-a-guideline.md)): a prioritised backlog that says what we would pick next and why, and
where every open pull request and feature request fits. Nothing here has a date.
The goal is **full feature parity with the reference app**, Adobe Animate, on a base that
doesn't break. [`parity.md`](parity.md) is the feature-by-feature matrix; this page orders its
gaps. In short: bugs and reliability first, then the parity gaps artists meet most often, then
the long tail.
## How the backlog is ordered
Items are compared on six things, in this order. An earlier one wins over a later one.
1. **Priority.** Who is stopped, and how many. A crash, a hang, lost work or an app that won't
start comes before any feature. Among features, the ones artists use every day come first.
2. **Correctness.** Something that does the wrong thing comes before something missing: wrong
output is trusted until it bites.
3. **Completeness.** Finishing a feature that is partly there comes before starting a new one.
4. **Reliability.** Work that makes a result the same on every machine and every run (GPU
fallbacks, platform input, verified installs) comes before work that only adds.
5. **Robustness.** Bounds on hostile or huge input, and tests that would catch a regression.
6. **Independence.** Of two items otherwise equal, the one that can merge without waiting for
another comes first, so that several can be in review at once.
Every pull request, ours as much as anyone's, gets a principal-engineer review before it
merges: is this how a principal engineer and a senior designer would have done it? The
questions are in [ADR 0125](adr/0125-the-roadmap-as-a-guideline.md).
**Reading the table.** *Size*: **S** is one small PR, **M** is one slice of the kind the
milestones shipped (model, commands, rendering, shell, tests, docs), **L** is several slices and
an ADR. *Lane* names the part of the code an item mostly touches. Two items in **different
lanes** with no entry under *Needs* can be built and merged in parallel; two in the **same
lane** are better done one after the other, because they meet in the same files. The ids are
stable: an item keeps its id when the order changes, a new item takes the next free number
wherever it is placed (P-056 is in the first tier), and a finished item leaves the table for
the changelog.
## Backlog
### Now: bugs and reliability
| Id | Goal | Parity area | Size | Needs | Lane |
|---|---|---|---|---|---|
| P-001 | AniCraft starts on every supported machine: the launch failures on Windows and Linux graphics drivers ([#164](https://github.com/storytold/anicraft/issues/164), [#158](https://github.com/storytold/anicraft/issues/158), [#207](https://github.com/storytold/anicraft/issues/207), [#268](https://github.com/storytold/anicraft/issues/268), [#421](https://github.com/storytold/anicraft/issues/421), [#342](https://github.com/storytold/anicraft/issues/342); duplicates [#488](https://github.com/storytold/anicraft/issues/488), [#448](https://github.com/storytold/anicraft/issues/448), [#412](https://github.com/storytold/anicraft/issues/412), [#313](https://github.com/storytold/anicraft/issues/313), [#286](https://github.com/storytold/anicraft/issues/286), [#285](https://github.com/storytold/anicraft/issues/285)) each end in a window or a message that says what to do | Preferences, platforms | M | reports' logs | platform |
| P-003 | A long Brush stroke never freezes the app ([#519](https://github.com/storytold/anicraft/issues/519)): bound the trace and fit, keep the stage responsive while it merges | Tools | M | | stage |
| P-004 | Memory and frame time stay flat: 900 MB for a 24-frame move in the web build ([#314](https://github.com/storytold/anicraft/issues/314)), stutter when zoomed in ([#477](https://github.com/storytold/anicraft/issues/477)); a budget test for each | Workspace | M | | render |
| P-005 | Free Transform works everywhere: rotation on Windows and FreeBSD ([#479](https://github.com/storytold/anicraft/issues/479)), handles on a skewed symbol ([#117](https://github.com/storytold/anicraft/issues/117)); decide [#193](https://github.com/storytold/anicraft/issues/193) (see outside PR [#218](https://github.com/storytold/anicraft/issues/218)) and write the rule in the guide | Tools | M | | stage |
| P-006 | Animate files open right: lines missing or filled in ([#498](https://github.com/storytold/anicraft/issues/498)), a `.fla` refused on macOS ([#347](https://github.com/storytold/anicraft/issues/347)); each fixed file joins the corpus | Import | M | the reporters' files | xfl |
| P-007 | The web build is usable: import, export and save ([#55](https://github.com/storytold/anicraft/issues/55)), preferences kept ([#56](https://github.com/storytold/anicraft/issues/56)), a web asset on each release ([#316](https://github.com/storytold/anicraft/issues/316), [#210](https://github.com/storytold/anicraft/issues/210)), a run in a real browser in CI | Preferences, platforms | M | | platform |
| P-008 | Text reads right: mixed directions (outside PR [#39](https://github.com/storytold/anicraft/issues/39)), then letters from a fallback face (outside PR [#40](https://github.com/storytold/anicraft/issues/40)) | Text | M | [#39](https://github.com/storytold/anicraft/issues/39) before [#40](https://github.com/storytold/anicraft/issues/40) | text |
| P-009 | Timeline bugs: a click on the playhead acts on every layer ([#195](https://github.com/storytold/anicraft/issues/195), outside PR [#222](https://github.com/storytold/anicraft/issues/222)), several layers selected with Ctrl and Shift ([#512](https://github.com/storytold/anicraft/issues/512)), the layer count over the header icons ([#523](https://github.com/storytold/anicraft/issues/523)), the mask edge drawn in the layer colour ([#429](https://github.com/storytold/anicraft/issues/429)) | Timeline, layers | S each | | timeline |
| P-010 | Panel bugs: empty space in the Movie Explorer ([#513](https://github.com/storytold/anicraft/issues/513)), a side dock that grows under the pointer ([#159](https://github.com/storytold/anicraft/issues/159)), fill and stroke squares that don't answer ([#246](https://github.com/storytold/anicraft/issues/246)), the flicker in [#255](https://github.com/storytold/anicraft/issues/255) | Workspace | S each | | shell |
| P-013 | No hairline between merged curved fills ([#182](https://github.com/storytold/anicraft/issues/182)) | Drawing model | M | | geom |
| P-014 | Pen pressure on every desktop: Linux Wayland (outside PR [#320](https://github.com/storytold/anicraft/issues/320)), reports from tablets ([#290](https://github.com/storytold/anicraft/issues/290)) | Tools | M | a tablet to test with | platform |
| P-015 | Verified by hand on real machines: the Mac checklist of [ADR 0062](adr/0062-test-movie-window-and-macos-document-opening.md), a hybrid-GPU laptop, passes with Narrator, VoiceOver and Orca ([ADR 0064](adr/0064-accessibility-second-pass.md)), launcher icons on Fedora ([#348](https://github.com/storytold/anicraft/issues/348)) | Accessibility, platforms | M | the machines; the person | platform |
| P-016 | The guide tells the truth: "Coming from Animate" still lists shipped features as missing; close the issues the appendix marks delivered (the lead does that) | (docs) | S | | docs |
| P-056 | The test `a_document_that_is_not_shown_keeps_no_pictures` (`src/tabs_tests.rs`) passes every time: on `main` it fails about two runs in three on Windows, alone or in the full run, so a red `cargo test` says nothing | (robustness) | S | | shell |
### Next: the parity gaps artists meet every day
| Id | Goal | Parity area | Size | Needs | Lane |
|---|---|---|---|---|---|
| P-017 | Selecting as in the reference app: a marquee takes instances, groups and objects it touches ([#522](https://github.com/storytold/anicraft/issues/522)); Hide Edges ([#298](https://github.com/storytold/anicraft/issues/298)); a first-use hint that a fill and its outline are separate, with double-click selecting both ([#484](https://github.com/storytold/anicraft/issues/484), [#485](https://github.com/storytold/anicraft/issues/485), [#343](https://github.com/storytold/anicraft/issues/343)); Match Size and Space in Align | Tools, drawing model | S each | | stage |
| P-018 | Lasso, Polygon and Magic Wand tools ([#515](https://github.com/storytold/anicraft/issues/515)) | Tools | M | | stage |
| P-019 | Text is typed in its block on the stage, in its real font and alignment ([#303](https://github.com/storytold/anicraft/issues/303)) | Text | L | P-008 | text |
| P-020 | Modify › Shape: Smooth, Straighten, Advanced Smooth and Optimize ([#510](https://github.com/storytold/anicraft/issues/510)); Distort; oval angles and primitive shapes | Drawing model | M | | geom |
| P-021 | Timeline and symbol commands that are missing: Reverse Frames, Distribute to Layers and to Keyframes, convert a tween to frame-by-frame, a symbol to layers and back ([#517](https://github.com/storytold/anicraft/issues/517)), New Symbol (Ctrl+F8), copy and paste layers, comment and anchor labels, a loop range | Timeline, symbols | M (splits into S) | | timeline |
| P-022 | A sound's in and out points: trim handles in Edit Envelope, Split Audio ([#502](https://github.com/storytold/anicraft/issues/502)), read from Animate files | Sound | M | | audio |
| P-023 | Motion tweens from Animate files come in as motion tweens, with curves, eases and paths | Import, tweens | L | | xfl |
| P-024 | Tools panel: tools grouped under one button with a flyout, a panel that reflows as it widens ([#198](https://github.com/storytold/anicraft/issues/198)), tool keys as the reference app's ([#246](https://github.com/storytold/anicraft/issues/246), [#168](https://github.com/storytold/anicraft/issues/168)) | Workspace | M | | shell |
| P-025 | Colour: live preview on the artwork while pointing at a swatch ([#436](https://github.com/storytold/anicraft/issues/436)), swatches whose uses follow a change | Colour | S, M | | shell |
| P-026 | Frame Picker panel for a graphic's frame ([#452](https://github.com/storytold/anicraft/issues/452)); previous and next keyframe ([#51](https://github.com/storytold/anicraft/issues/51)) | Workspace, timeline | M | | shell |
| P-027 | Effects on a layer and on a frame: colour effect, blend mode and filters, in Properties, Layer Properties for several layers, every export, and from Animate files ([#464](https://github.com/storytold/anicraft/issues/464), [#60](https://github.com/storytold/anicraft/issues/60)) | Layers, filters | L, ADR | | doc |
| P-028 | The Brush feels right: raw pressure-sensitive ink (outside PR [#336](https://github.com/storytold/anicraft/issues/336), [#287](https://github.com/storytold/anicraft/issues/287)); art and pattern brushes later | Tools | M | P-003 | stage |
| P-029 | Stage view: turn the view (the Rotation tool), spring-loaded zoom, Time Scrub (from outside PR [#394](https://github.com/storytold/anicraft/issues/394)) | Workspace, tools | S each | [#394](https://github.com/storytold/anicraft/issues/394) split | stage |
| P-030 | Snapping leftovers: Snap Align, Edit Snapping, units other than pixels, a movable ruler origin, shape recognition ([#44](https://github.com/storytold/anicraft/issues/44)) | Drawing model | M | | stage |
### Then: completing what is partly there
| Id | Goal | Parity area | Size | Needs | Lane |
|---|---|---|---|---|---|
| P-031 | Scripts: arrays, objects, `switch`, string methods, event bubbling and fields, sound from scripts ([#3](https://github.com/storytold/anicraft/issues/3)); a debugger later; ActionScript 1.0 and 2.0 last ([#293](https://github.com/storytold/anicraft/issues/293)) | Interactivity | L | | player |
| P-032 | Strokes: gradient and bitmap strokes, ragged, stipple and hatched styles, scale modes, a hairline style | Drawing model, colour | M | | render |
| P-033 | Typography: justified text, superscript and subscript, indents and margins, vertical text, spell checking | Text | M (splits) | P-008 | text |
| P-034 | A right-to-left interface, and Hebrew ([#45](https://github.com/storytold/anicraft/issues/45)) | Preferences | M | P-008 | shell |
| P-035 | The HTML page and Test Movie, complete: 9-slice, bent bitmaps, stream sounds after a go-to, links that click, masks in hit tests, scaling choices, a preloader; Test Movie full screen and zoom | Publishing, interactivity | M (splits) | | player |
| P-036 | Publish formats: an animated SVG in one file (outside PR [#9](https://github.com/storytold/anicraft/issues/9)), SVG sequence and file name patterns in Publish Settings, JPEG, a texture atlas, publish settings read from Animate files, per-sound settings | Publishing | M (splits) | | engine |
| P-037 | More formats in: AIFF, FLAC and ADPCM WAV sounds; GIF, BMP, WebP bitmaps; numbered images as frames | Import | S each | craft-libs readers | audio, doc |
| P-038 | Vectors from the clipboard of other drawing apps ([#62](https://github.com/storytold/anicraft/issues/62)); match the stage to an imported SVG ([#155](https://github.com/storytold/anicraft/issues/155)); layered Photoshop files | Import | M | | engine |
| P-039 | Binary `.fla` files from Flash 8 to CS4, with dashed and dotted strokes (outside PRs [#478](https://github.com/storytold/anicraft/issues/478), [#481](https://github.com/storytold/anicraft/issues/481); [#163](https://github.com/storytold/anicraft/issues/163), [#289](https://github.com/storytold/anicraft/issues/289)) | Import | L | the author's provenance answer | xfl |
| P-040 | The Library across documents: another open document's Library, author-time shared items, Swap Bitmap for every use, linkage and compression on bitmaps and sounds, edit a bitmap outside | Symbols | M | | shell |
| P-041 | Motion you can reuse: motion presets, copy and paste motion, Sync and Snap on classic tweens, an ease library shared between documents | Tweens | M | | timeline |
| P-042 | Rigging: bones on a warp mesh and bone types ([#444](https://github.com/storytold/anicraft/issues/444), [#213](https://github.com/storytold/anicraft/issues/213)), a mesh that follows the outline, rigs put onto other artwork, runtime armatures, squash and stretch ([#503](https://github.com/storytold/anicraft/issues/503)) | Bones | L, ADR | | doc |
| P-043 | The long tail of Animate files: armatures, camera and depth, parenting, frame comments, by observing files we author ourselves where no public description exists | Import | L | P-023, P-022 | xfl |
### Later: the long tail and things that need a decision
| Id | Goal | Parity area | Size | Needs | Lane |
|---|---|---|---|---|---|
| P-044 | 3D Rotation and 3D Translation tools and their tween properties ([#516](https://github.com/storytold/anicraft/issues/516), [#53](https://github.com/storytold/anicraft/issues/53)) | Tools, tweens | L, ADR | | doc |
| P-045 | Video: the sound of a reference layer, a `<video>` in the HTML page, video with alpha, video in the web build | Video | M | | audio |
| P-046 | Looks: the Studio palette as a theme file (from outside PR [#394](https://github.com/storytold/anicraft/issues/394)), icon packs | Preferences | S | [#394](https://github.com/storytold/anicraft/issues/394) split | shell |
| P-047 | Raster layers and spray brushes (outside PR [#445](https://github.com/storytold/anicraft/issues/445)) | (beyond parity) | L | a product decision; [#394](https://github.com/storytold/anicraft/issues/394) split | render |
| P-048 | Artwork from SWF files ([#172](https://github.com/storytold/anicraft/issues/172)) | Import | L | a clean-room and licence decision | xfl |
| P-049 | Accessible movies: names, descriptions and tab order on instances in the HTML page; captions | Accessibility | M | | player |
| P-050 | Workspace leftovers: a document tab in its own window, the last session reopened, a Transform and an Info panel, Preview Mode, frame thumbnails, undo and redo buttons on the timeline ([#369](https://github.com/storytold/anicraft/issues/369)), file information | Workspace | S each | | shell |
| P-051 | Extending AniCraft: plug-in formats in Publish, plug-in panels and tools, saved commands that ask for values, code snippets and completion in the Actions panel, a turntable plug-in ([#514](https://github.com/storytold/anicraft/issues/514)) | Automation | M (splits) | | engine |
| P-052 | Speed: GPU binning inside masks and groups, an image atlas, GPU exports, one outline cache for strokes, a benchmark runner in CI | (performance) | L | measured numbers | render |
| P-053 | Platforms: a native menu bar on macOS, one running AniCraft taking a second document, self-update for portable copies; store listings need the person | Preferences | M | | platform |
| P-054 | Sound and data long tail: more mouth shapes, audio driving the camera and filters, an output device choice, data bindings that survive copy and paste, cell editing | Sound, automation | S each | | audio, engine |
| P-055 | A first full translation and a translated guide | Preferences | M | storytold/craft-i18n | docs |
### Team
Work the Craft team does across its repositories. It has no slot in the order: it merges when
the team is ready, in a PR of its own (AGENTS.md rules 10 and 17).
| Id | Goal | Needs |
|---|---|---|
| T-01 | Every craft-libs crate at one `rev` on craft-libs `main` (outside PR [#390](https://github.com/storytold/anicraft/issues/390)), then finishing the XFL wire-format cutover | a green build at the chosen `rev` |
| T-02 | Workflow actions pinned through a lock file (outside PR [#225](https://github.com/storytold/anicraft/issues/225)) | the review's open point about reusable workflows |
## Open pull requests from outside, each with its slot
Every open pull request that is not ours has a backlog id and a state, so its fate is never in
doubt. This table is brought up to date whenever one opens, closes or changes state (list them
with `gh pr list --state open`). The states:
* **planned**: we want it. It merges when its item is reached in the backlog, or sooner if it is
ready and touches nothing in flight, once it has what the table says it still needs.
* **superseded by**: the same result has landed another way. The PR can close, with thanks, and
anything in it that `main` still lacks is named.
* **declined**: we won't take it, and why.
* **held**: we can't decide yet, and what we are waiting for.
As of 2026-11-20 (27 open):
| PR | What | Id | State | What it still needs, or what happened |
|---|---|---|---|---|
| [#13](https://github.com/storytold/anicraft/issues/13) | Bound the work of evaluating nested symbols | (done) | **superseded by** | The P-002 change ([ADR 0128](adr/0128-one-work-allowance-and-frames-that-say-what-they-left-out.md)), which took its ideas into the allowance `main` already had: layers, symbol lookups and outline sizes count as work, and a frame that ran out says so. Its commits were not merged: they rewrite what [#497](https://github.com/storytold/anicraft/issues/497) rewrote, and its charge of one unit per library entry would cut honest documents with large libraries. Credited in `AUTHORS.md`. |
| [#39](https://github.com/storytold/anicraft/issues/39) | Text that mixes directions | P-008 | **planned** | Re-reviewed clean; changes were requested earlier, so it needs a fresh review at the rebased head, and the licence of any new crate checked against `standards/licences.md`. Before [#40](https://github.com/storytold/anicraft/issues/40). |
| [#40](https://github.com/storytold/anicraft/issues/40) | Letters from a fallback face | P-008 | **planned** | Builds on [#39](https://github.com/storytold/anicraft/issues/39); rebase onto it once [#39](https://github.com/storytold/anicraft/issues/39) is in. |
| [#222](https://github.com/storytold/anicraft/issues/222) | A click on the playhead makes the frame keys act on every layer | P-009 | **planned** | Mergeable and green. Needs a check by hand of the ruler click with a screenshot, since no reviewer ran it. |
| [#238](https://github.com/storytold/anicraft/issues/238) | Morph a shape's stroke with its fill | (done) | **superseded by** | Merged with its commits in the P-011 change. The design question is answered with pictures there: a stroke run belongs to the fill whose edge its middle lies on, and an edge two fills share goes with the lower one. On top of it, a guided shape tween now joins the runs even when both keys have as many. |
| [#142](https://github.com/storytold/anicraft/issues/142) | `Vec2::length` overflow | (done) | **superseded by** | Merged with its commit in the P-012 change, then narrowed after measuring: `hypot` alone cost 1.9 ns against 0.83 ns a call, so it is taken only where the squares leave `f32` (0.85 ns, the same results in range). |
| [#233](https://github.com/storytold/anicraft/issues/233) | Keep alpha in `Rgba::to_hex` | (done) | **superseded by** | Merged with its commit in the P-012 change, as a function of its own: `to_hex` keeps its six digits for the SVG, HTML and Lottie writers (as merged, the four callers that add their own alpha digits would have written ten), and `to_hex_alpha` is the form that reads back. The Eyedropper's result uses it. |
| [#130](https://github.com/storytold/anicraft/issues/130) | Reject SVG path numbers past `f32` | (done) | **superseded by** | Merged with its commit in the P-012 change (the test). |
| [#486](https://github.com/storytold/anicraft/issues/486) | Hebrew font, `iw`, right-to-left preparation | (done) | **superseded by** | The rest (private-use tags are not right-to-left) is merged with its commits in the P-012 change; the Hebrew face and `iw` came in with [#496](https://github.com/storytold/anicraft/issues/496). P-034 stays open for laying out right to left. |
| [#500](https://github.com/storytold/anicraft/issues/500) | A test of SVG link sanitising and re-import | (done) | **superseded by** | Merged with its commits in the P-012 change, without the two lines it only reformatted. It is the one test that linked artwork survives export and re-import. |
| [#320](https://github.com/storytold/anicraft/issues/320) | Pen pressure on Linux Wayland | P-014 | **planned** | Needs a rebase, platform code kept in `src/platform.rs` with no `unsafe`, the licences of its X11 crates checked, and a test by hand with a tablet. |
| [#336](https://github.com/storytold/anicraft/issues/336) | Raw pressure-sensitive ink | P-028 | **planned** | After P-003, so a long stroke is bounded first. Needs a rebase and a new ADR number (0096 is taken; ask for one to be reserved). |
| [#394](https://github.com/storytold/anicraft/issues/394) | Studio theme, canvas turn, Ctrl+Space zoom | P-029, P-046 | **planned, in parts** | Three things in one PR, 75 files. Needs to be split: the view turn and the zoom key each as their own PR (P-029), and the palette as a theme file for [ADR 0117](adr/0117-user-themes-from-a-folder.md) instead of a built-in theme (P-046). |
| [#9](https://github.com/storytold/anicraft/issues/9) | Animated SVG export | P-036 | **planned** | Needs a rebase onto the SVG sequence writer ([#504](https://github.com/storytold/anicraft/issues/504)), a bound on frames and bytes as its review asked, writing through `engine::vfs`, and a row in `access::PATH_PARAMS`. |
| [#478](https://github.com/storytold/anicraft/issues/478) | Open Flash 8 to CS4 binary `.fla` files | P-039 | **held** | Waiting for its author's answer on provenance: that no parser or decompiler source was read, and which public descriptions and self-made files the format knowledge came from (`standards/clean-room.md`). |
| [#481](https://github.com/storytold/anicraft/issues/481) | Dashed and dotted strokes in those files | P-039 | **held** | Stacks on [#478](https://github.com/storytold/anicraft/issues/478) and waits with it. |
| [#445](https://github.com/storytold/anicraft/issues/445) | Raster layers, spray brushes, a steady live stroke | P-047 | **held** | Beyond parity: the reference app has no raster layers, and a second drawing model is a product decision for the person. It also stacks on [#394](https://github.com/storytold/anicraft/issues/394) and uses [ADR 0112](adr/0112-several-documents-open-at-once.md), which is taken. The steady live stroke is welcome on its own under P-028. |
| [#366](https://github.com/storytold/anicraft/issues/366) | Move a keyframe when its drag starts on it | (P-009) | **superseded by** | [#344](https://github.com/storytold/anicraft/issues/344) is closed: `main` reworked keyframe dragging (`4ccb7d78`). Not verified that `main` covers every case of the PR's test; if it doesn't, the test is welcome alone. |
| [#224](https://github.com/storytold/anicraft/issues/224) | A hex field in the colour pickers | (done) | **superseded by** | `main` has its own picker with a hex field (`src/colour.rs`, [#432](https://github.com/storytold/anicraft/issues/432) to [#437](https://github.com/storytold/anicraft/issues/437)), as its author noted. |
| [#232](https://github.com/storytold/anicraft/issues/232) | Stage background alpha in Lottie export | (done) | **superseded by** | `main` writes the alpha as the layer's opacity and leaves a clear stage without a layer. |
| [#123](https://github.com/storytold/anicraft/issues/123) | Check JPEG size from the header before decoding | (done) | **superseded by** | Bitmap decoding moved to `craft-image-codecs` with the edge limits passed in as decode options. |
| [#228](https://github.com/storytold/anicraft/issues/228) | WAV decoder and an empty data chunk | (done) | **superseded by** | Decoding moved to `craft-audio`. If the case still fails there, it belongs in storytold/craft-libs. |
| [#11](https://github.com/storytold/anicraft/issues/11) | Static SVG import | (done) | **superseded by** | First-party SVG import ([ADR 0021](adr/0021-svg-clips-masks-text.md)), which also covers clips, masks, gradients and text. |
| [#218](https://github.com/storytold/anicraft/issues/218) | Scale Free Transform handles about the transformation point | P-005 | **declined** | [ADR 0111](adr/0111-the-transformation-point-a-turning-box-and-layer-opacity.md) rebuilt Free Transform the other way round, as the reference app has it: a handle scales from the opposite side, and Alt scales about the transformation point. [#193](https://github.com/storytold/anicraft/issues/193) is answered by that and by the guide. |
| [#145](https://github.com/storytold/anicraft/issues/145) | Reject signs in XML numeric character references | (none) | **held** | XML reading moved to `craft-xml`, and the PR's diff is now an unrelated line in the Lottie writer. Waiting for its author to retitle it or close it. |
| [#390](https://github.com/storytold/anicraft/issues/390) | Move every craft-libs pin to one commit | T-01 | **planned** (team) | Merges when the team picks the `rev`; a `rev` move is its own PR. |
| [#225](https://github.com/storytold/anicraft/issues/225) | Lock workflow actions through a lock file | T-02 | **planned** (team) | Changes requested: the lock records nothing for reusable-workflow callers, so a lint rule was switched off too widely. |
## Feature requests and where they are
Open issues that ask for a feature, by backlog id. "Delivered" means `main` has it and the issue
can close; the lead closes issues, not this page.
| Issue | Asks for | Where |
|---|---|---|
| [#522](https://github.com/storytold/anicraft/issues/522) | Marquee selects what it touches | P-017 |
| [#298](https://github.com/storytold/anicraft/issues/298), [#343](https://github.com/storytold/anicraft/issues/343) | Selection marks while drawing | P-017 |
| [#515](https://github.com/storytold/anicraft/issues/515) | Lasso | P-018 |
| [#303](https://github.com/storytold/anicraft/issues/303) | Text typed on the stage | P-019 |
| [#510](https://github.com/storytold/anicraft/issues/510) | Modify › Shape: Smooth, Straighten, Optimize | P-020 |
| [#517](https://github.com/storytold/anicraft/issues/517) | Break a symbol apart into layers | P-021 |
| [#502](https://github.com/storytold/anicraft/issues/502) | Split Audio and trim handles | P-022 |
| [#198](https://github.com/storytold/anicraft/issues/198), [#168](https://github.com/storytold/anicraft/issues/168) | Tools panel that cascades; closer to the reference app's interface | P-024 |
| [#436](https://github.com/storytold/anicraft/issues/436), [#199](https://github.com/storytold/anicraft/issues/199) | Live colour preview; a palette on the squares (the palette is delivered) | P-025 |
| [#452](https://github.com/storytold/anicraft/issues/452), [#51](https://github.com/storytold/anicraft/issues/51) | Frame Picker; keyframe navigation | P-026 |
| [#464](https://github.com/storytold/anicraft/issues/464), [#60](https://github.com/storytold/anicraft/issues/60) | Layer properties and layer effects | P-027 |
| [#287](https://github.com/storytold/anicraft/issues/287), [#290](https://github.com/storytold/anicraft/issues/290) | Paintbrush response; tablet pressure | P-028, P-014 |
| [#44](https://github.com/storytold/anicraft/issues/44), [#120](https://github.com/storytold/anicraft/issues/120) | Grid and snapping details ([#120](https://github.com/storytold/anicraft/issues/120), line snapping, is delivered by [ADR 0045](adr/0045-raw-points-and-raw-shapes-inside-symbols.md)) | P-030 |
| [#3](https://github.com/storytold/anicraft/issues/3), [#293](https://github.com/storytold/anicraft/issues/293) | ActionScript; older versions of it | P-031 |
| [#45](https://github.com/storytold/anicraft/issues/45) | Hebrew interface | P-034 |
| [#155](https://github.com/storytold/anicraft/issues/155), [#62](https://github.com/storytold/anicraft/issues/62) | Stage from an SVG; vector clipboard | P-038 |
| [#163](https://github.com/storytold/anicraft/issues/163), [#289](https://github.com/storytold/anicraft/issues/289) | Binary `.fla` files | P-039 |
| [#50](https://github.com/storytold/anicraft/issues/50) | Library preview and drag to the stage | delivered ([ADR 0050](adr/0050-library-management.md), [ADR 0053](adr/0053-library-drag-swap-bitmap-mixed-properties.md)) |
| [#444](https://github.com/storytold/anicraft/issues/444), [#213](https://github.com/storytold/anicraft/issues/213), [#503](https://github.com/storytold/anicraft/issues/503) | Bones in Asset Warp; mesh rigging; squash and stretch | P-042 |
| [#516](https://github.com/storytold/anicraft/issues/516), [#53](https://github.com/storytold/anicraft/issues/53) | 3D tools and layers | P-044 |
| [#369](https://github.com/storytold/anicraft/issues/369) | Video import (delivered, [ADR 0116](adr/0116-importing-video-through-the-users-ffmpeg.md)); undo buttons on the timeline | P-050 |
| [#172](https://github.com/storytold/anicraft/issues/172) | SWF import and export | P-048 for import; export is a "won't do" in `parity.md` |
| [#514](https://github.com/storytold/anicraft/issues/514) | Turntable | P-051 |
| [#277](https://github.com/storytold/anicraft/issues/277) | Customising the workspace | delivered ([ADR 0075](adr/0075-dockable-panels-and-workspaces.md), [ADR 0087](adr/0087-dockable-panels-second-slice.md)); the rest is P-050 |
| [#241](https://github.com/storytold/anicraft/issues/241), [#229](https://github.com/storytold/anicraft/issues/229), [#42](https://github.com/storytold/anicraft/issues/42), [#363](https://github.com/storytold/anicraft/issues/363) | Several requests each | mostly delivered ([ADR 0031](adr/0031-merge-drawing.md) to [ADR 0045](adr/0045-raw-points-and-raw-shapes-inside-symbols.md), [ADR 0073](adr/0073-groups-combine-objects-and-selection-modifiers.md), [ADR 0075](adr/0075-dockable-panels-and-workspaces.md)); what is left is in P-017, P-020, P-021 and P-031. Each needs a reply that lists what is still open before it closes |
| [#48](https://github.com/storytold/anicraft/issues/48), [#49](https://github.com/storytold/anicraft/issues/49), [#54](https://github.com/storytold/anicraft/issues/54), [#57](https://github.com/storytold/anicraft/issues/57), [#59](https://github.com/storytold/anicraft/issues/59), [#61](https://github.com/storytold/anicraft/issues/61), [#82](https://github.com/storytold/anicraft/issues/82), [#83](https://github.com/storytold/anicraft/issues/83), [#180](https://github.com/storytold/anicraft/issues/180), [#181](https://github.com/storytold/anicraft/issues/181), [#278](https://github.com/storytold/anicraft/issues/278), [#284](https://github.com/storytold/anicraft/issues/284), [#325](https://github.com/storytold/anicraft/issues/325) | Raw shape editing, symbol timelines, camera, bucket gaps, parenting, blends and opacity, shape hints, Pen handles, reshaping with Selection, editing a drawing object, filters, a light theme, drawing outside the stage | delivered ([#181](https://github.com/storytold/anicraft/issues/181): by opening the object; editing without opening is in P-017) |
| [#148](https://github.com/storytold/anicraft/issues/148) | Puppets driven by a camera and microphone | declined as a feature of this app: it is another product. Lip sync is delivered ([ADR 0114](adr/0114-audio-to-keyframes-and-lip-sync.md)) |
| [#234](https://github.com/storytold/anicraft/issues/234) | Find gaps by replaying old tutorials | a method, not a feature: a good way to keep `parity.md` honest |
| [#1](https://github.com/storytold/anicraft/issues/1) | Merge with another project | not a feature request; for the person |
## Done
The milestones, for the record. What each shipped is in `CHANGELOG.md` and the ADRs; what is
there today is in the status table below and in `parity.md`.
| Milestone | Theme | Shipped |
|---|---|---|
| M0 | Foundations | Layered workspace, document model, timeline evaluation, the CPU oracle renderer, commands, the CLI ([ADR 0001](adr/0001-undo-persistent-snapshots.md) to [ADR 0003](adr/0003-file-format-v2.md)). |
| M1 | Authoring core (v0.1.0) | Free Transform, Subselection, Pen, Pencil, clipboard, align, merge drawing and the Selection tool on raw shapes, groups, Modify › Shape ([ADR 0031](adr/0031-merge-drawing.md), [ADR 0041](adr/0041-selection-tool-on-raw-drawings.md) to [ADR 0045](adr/0045-raw-points-and-raw-shapes-inside-symbols.md), [ADR 0073](adr/0073-groups-combine-objects-and-selection-modifiers.md), [ADR 0109](adr/0109-shape-commands-picker-eyedropper-and-transformation-origins.md), [ADR 0111](adr/0111-the-transformation-point-a-turning-box-and-layer-opacity.md), [ADR 0115](adr/0115-pen-parity-and-keep-area-tweens.md)). |
| M2 | Model at scale | Structural-sharing undo, scenes, layer folders, masks, motion tweens and the Motion Editor, the MCP server ([ADR 0010](adr/0010-mask-layers.md), [ADR 0011](adr/0011-scenes.md), [ADR 0016](adr/0016-motion-tweens.md), [ADR 0083](adr/0083-motion-editor-and-timeline-retiming.md)). |
| M3 | GPU stage | The wgpu stage renderer as the default, with the CPU as oracle and fallback ([ADR 0019](adr/0019-gpu-stage.md), [ADR 0029](adr/0029-gpu-stage-direct-masks-groups.md), [ADR 0032](adr/0032-gpu-stage-bitmaps-filters-default.md), [ADR 0048](adr/0048-gpu-binning-and-hairlines.md), [ADR 0092](adr/0092-surviving-gpu-failures-and-motion-editor-filter-tracks.md)). |
| M4 | Interchange | Animate file import, SVG in and out, Lottie, sprite sheets, video through ffmpeg, animated PNG and WebP ([ADR 0009](adr/0009-xfl-import.md), [ADR 0021](adr/0021-svg-clips-masks-text.md), [ADR 0035](adr/0035-xfl-corpus-and-golden-renders.md), [ADR 0054](adr/0054-fla-packages-and-a-hardened-zip-reader.md), [ADR 0063](adr/0063-animated-png-and-webp-export.md), [ADR 0089](adr/0089-lottie-keyframes-and-eases.md)). |
| M5 | Rich media | Text and text fields, bitmaps, sound, filters, blend modes, video for reference ([ADR 0012](adr/0012-text.md), [ADR 0020](adr/0020-audio.md), [ADR 0025](adr/0025-bevel-and-gradient-filters.md), [ADR 0066](adr/0066-dynamic-and-input-text-fields.md), [ADR 0085](adr/0085-per-character-and-paragraph-styles.md), [ADR 0107](adr/0107-text-paths-in-place-lines-on-a-path-and-the-text-field-api.md), [ADR 0116](adr/0116-importing-video-through-the-users-ffmpeg.md)). |
| M6 | Interactivity and extensibility | Plug-ins, frame scripts and Test Movie, the HTML canvas page, saved commands, data tables ([ADR 0017](adr/0017-wasm-plugins.md), [ADR 0024](adr/0024-frame-scripts-and-test-movie.md), [ADR 0028](adr/0028-html-canvas-export.md), [ADR 0052](adr/0052-actionscript-small-logic.md), [ADR 0097](adr/0097-command-macros.md), [ADR 0118](adr/0118-data-tables-that-drive-animation.md)). |
| M7 | Advanced animation | Bones and shape armatures, Asset Warp, the camera and layer depth, variable-width strokes, the brush library, eases, layer parenting ([ADR 0018](adr/0018-variable-width-strokes.md), [ADR 0027](adr/0027-camera-layer.md), [ADR 0043](adr/0043-bones-and-inverse-kinematics.md), [ADR 0068](adr/0068-brush-library-pressure-curves-and-the-paint-brush.md), [ADR 0071](adr/0071-shape-armatures.md), [ADR 0079](adr/0079-asset-warp.md), [ADR 0081](adr/0081-ease-presets-and-custom-eases.md), [ADR 0113](adr/0113-layer-parenting.md)). |
| M8 | Release quality | Several documents, autosave, accessibility, languages, themes, dockable panels, the user guide, installers, automation roots ([ADR 0015](adr/0015-crash-recovery-autosave.md), [ADR 0022](adr/0022-accessibility.md), [ADR 0026](adr/0026-packaging-and-signing.md), [ADR 0040](adr/0040-interface-languages.md), [ADR 0069](adr/0069-the-user-guide.md), [ADR 0075](adr/0075-dockable-panels-and-workspaces.md), [ADR 0112](adr/0112-several-documents-open-at-once.md), [ADR 0124](adr/0124-automation-roots.md)). |
Releases: v0.1.0, v0.2.0 and v0.2.1 are tagged; `main` is 0.3.0 in development
(`docs/release.md`).
## Honest status by dimension
What `main` does today, dimension by dimension, with what is not there yet. A PR that changes
a dimension updates its row, as before; the rows are long because they are complete. For the
same facts feature by feature, see [`parity.md`](parity.md).
Streaming WAV headers and PCM sample blocks now delegate to `craft_audio::wav_stream`;
AniCraft retains mixing, frame-range limits, temporary-file cleanup and VFS writes.
This integration depends on craft-libs #1962 and still requires hosted parity validation.
| Dimension | Status |
|---|---|
| Architecture | M0 skeleton in place: geom → doc → render → engine → cli → shell, layering enforced by `cargo test` (`src/architecture_tests.rs`: lower layers only, no UI crates below the shell, and the AGENTS.md map must match). |
| Rendering | CPU oracle with analytic AA, non-zero/even-odd, solid + linear/radial gradients (with reflect/repeat, focal points, elliptical radials and linear RGB, ADR 0074), round-join strokes. **A stroke is covered as one outline** (ADR 0110): the stroker builds each run of segments as an outline and unites the loops, so pixels where its pieces used to overlap (round joins and caps, the joints of wide curves, dashes that run together, a line crossing itself) are no longer up to half a pixel too dark, on the CPU and the GPU stage alike; a line with corners, flat or square ends is drawn pixel for pixel as its Convert Lines to Fills fill, a curved or round one within the 0.1 px flattening (not yet: one geometry for both on curves, a per-stroke outline cache, dashes measured along the curve). **Mask clipping**: the display list carries nested clips; a clip is the anti-aliased union of its mask fills (strokes and opacity ignored), intersected with any enclosing clip, computed once per render band; an empty mask hides everything under it. **Soft masks** (ADR 0070): a mask layer's mask type is Shape (coverage), Alpha (its artwork's opacity as drawn: gradients, faded shapes, strokes, bitmaps) or Luminance (brightness × opacity, SVG's coefficients), in the CPU oracle (analytic tests), the GPU stage (parity: mean 0.00006, worst 1 step of 255), SVG export (`<mask>` with `mask-type`), Lottie (alpha and luma track mattes) and the HTML canvas; Layer Properties › Mask type. **Group alpha**: a symbol instance below full opacity is a group in the display list; each render band composites the group's run of ops into its own buffer (nested groups stack) and blends it once at the group's alpha, so overlaps don't show through; SVG export writes `<g opacity>`. **Blend modes** (Animate's 14, on movie clip and button instances): an instance with one is an isolated group that blends at its close with the W3C separable formulas on premultiplied colour (Alpha and Erase keep or clear the backdrop); SVG gets CSS `mix-blend-mode`, Lottie the layer `bm`. **Bitmaps**: `Paint::Bitmap` fills (once or tiled) with bilinear sampling in premultiplied space, colour effects per sample; PNG/JPEG import to stage (a rectangle of the image's size); stored in the document as PNG (base64 in `.anicraft`), decoded once on first use; SVG export embeds each image once as a pattern. **Filters**: a filtered group is drawn on its own (by the same renderer, recursively, so nested filters work) into a buffer over its artwork grown by the filters' reach, filtered (box-blur passes; shadow and glow from the blurred, offset opacity; **bevel and gradient bevel** from the difference of the blurred opacity offset towards and away from the light, **gradient glow** from the glow's intensity, both through a colour ramp whose rest stop is pinned transparent, inner/outer/full and knockout, ADR 0025; colour matrix), and composited back as one image in its group, so alpha and blend apply; clips from inside the symbol apply before filtering and the instance's own clip after. Filters apply in list order and may be switched off (ADR 0091): `evaluate` leaves switched-off ones out, so every renderer and export draws them as absent. **GPU stage, first slice** (M3, ADR 0019; `--features gpu-stage`, off by default): Preferences › Stage › Renderer *GPU (preview)* draws the stage with wgpu compute from the oracle's own prepared fills (tile binning with per-row backdrops on the CPU, exact area coverage and src-over per pixel on the GPU): solid and gradient fills and strokes, non-zero and even-odd; masks, group opacity, blend modes, filters and bitmaps fall back to the CPU per tile, and the status bar says so. Parity with the oracle: max 1/255, mean < 0.0001/255 on the sample, stress and analytic scenes (tests skip without an adapter). 4K with 1,000 shapes: 8.8–9.0 ms vs the CPU's 17.4–17.8 ms. **Second slice** (ADR 0029): on the window's wgpu device the stage tiles are drawn straight into textures egui shows (no readback; a headless device with readback when the window is on OpenGL); **masks** (nested, united artwork), **group opacity** and **all 14 blend modes** on the GPU, same parity (max 1/255, mean ≤ 0.0011/255); 4K: 1,000 shapes in 2.1–2.4 ms, 10k shapes in 10.2 ms as stage tiles, masked scenes 7× the CPU. **Third slice** (ADR 0032): **bitmap fills** (textures uploaded once per image and cached under a 256 MB budget, sampled with the oracle's own bilinear filter, colour effect and repeat rules: byte-identical) and **all seven filters** (each filtered symbol drawn into a layer of its own and filtered by compute passes that run the oracle's resolved steps: max 1/255, mean ≤ 0.007/255) on the GPU; the shaders now build with Direct3D's FXC, so DX12 windows get the GPU stage too (parity suite green on Vulkan and DX12); software adapters are refused (the CPU is faster), the start-up self-test compares with the oracle. **The GPU is the default stage renderer**: the shell's `gpu-stage` feature is on by default, Preferences › Stage › Renderer defaults to *Graphics card (GPU)*, and the CPU draws whenever there is no usable card, a tile is past the GPU's limits (more than 16 images, filters nested deeper than 4) or anything fails. 4K: the filtered sample in 3.9 ms (CPU 31.5), 200 bitmap fills in 4.4 ms (CPU 37.2). **Fourth slice** (ADR 0048): **tile binning on the GPU** for heavy frames without masks or groups (count, prefix sum, scatter and tile-list passes, no atomics, no readback; the CPU binning stays the reference and does the rest; one tile format for both: an integer backdrop per tile and steps on the tiles' left edges): on Vulkan, 10k shapes at 4K in one texture 21.7 → 4.7 ms, 50k shapes 122 → 22.5 ms, the 50k-shape 4K stage 75 → 37 ms (Direct3D 12 keeps CPU binning: slower there in stage tiles); and **hairlines** for outline mode in both renderers (coverage by distance, one edge per segment): onion outlines on the 2,000-item stress scene as fast as tinted (GPU stage 73 → 10 ms, CPU stage 34–39 → 17 ms at 1080p). **Mid-session failures** (ADR 0092): a broken GPU stage hands the stage to the CPU at once with a status-bar notice and a log line, and is retried with a bounded backoff; driver errors on the window's device are logged instead of panicking (the #255 `Surface::configure` panic), and a lost window device autosaves and reopens the window on a safer way. Not yet: sharing a filtered layer across a frame's tiles, more than 16 images per tile, GPU binning inside masks and groups, flattening and stroking on the GPU, buffer reuse and fewer dispatches across tiles, hairlines for sub-pixel strokes, GPU exports, a GPU runner in CI; the CPU stays the oracle and the export path. |
| Timeline | **Frame selection**: click, Shift-click or drag across frames and layers; F5/Shift+F5, F6/F7 and Shift+F6 (keys, icon buttons and right-click menu) act on the whole selection; with no frame selection F5 extends every layer with frames at or after the playhead, and F5/F6/F7 move the playhead on as in Animate (F6/F7 on a keyframe key the next frame; `all_layers`/`advance` headless); drag selected keyframes left or right to move them, and up or down onto other layers (the source keeps empty frames) (with a drop outline; one undo step; keys they land on are replaced, and spans fill the frames left behind); removing or clearing selected frames that hold artwork asks first. **Cut/Copy/Paste Frames** (Ctrl+Alt+X/C/V, and plain Ctrl+X/C/V after clicking the timeline): own clipboard, copies cut exactly at the selection edges (mid-tween state kept), paste inserts like Animate, several layers paste onto the layers below (missing ones are created), fresh element ids, symbols travel with them. **Span length by dragging its end** (resize cursor, live outline with the length in frames and seconds; later frames move with it; a motion tween's keys stretch in proportion, ADR 0083). Side dock tab strips never run under the panel menu (names shrink with an ellipsis, then the strip scrolls). Headless: `layers`/`count` on the frame commands, `timeline.move_keyframes`, `timeline.cut_frames/copy_frames/paste_frames`. Layers (show/lock/outline), **timeline polish** (ADR 0061): a per-layer **onion skin toggle** column (Alt-click solos; left-out layers aren't onion-skinned; Edit Multiple Frames unaffected), the colour square toggles **View as Outlines** in the layer colour **on the stage only** (exports, Test Movie and the player draw the artwork as it is), the **colour chip** opens the layer colour (swatches, hex, More…), **onion frames of the parent timeline** dimmed around a symbol edited in place, **Layer Height** 100/200/300 %, **Layer Properties** (double-click the layer icon; name, show/lock, type, outline colour, outlines, onion, height; one undo step), **Frame View** (Tiny/Small/Normal/Medium/Large, Short rows) with the frame zoom in the timeline's bottom bar (the header fits at the default window size, tested); headless `layer.set_onion/set_color/set_height/set_properties/properties`; XFL `heightMultiplier`. Not yet: folder onion toggles, onion of deeper parent timelines, multi-layer Layer Properties and layer transparency, frame thumbnails (Preview). **Layers by drag and all at once** (M8, from the issue tracker): drag a layer by its name to reorder it or drop it on a folder (a line shows where it lands; folders, masks and guides move whole; one undo step; `layer.move {before | after | into}`), the eye, padlock and outline square above the layer names act on every layer (`all` on the three toggles), and the line between the layer names and the frames drags (150–600 pt, kept in the preferences). Not yet: several selected layers dragged together, dragging a layer onto another scene. Keyframes, blank keyframes, insert/remove frames, classic tweens with **ease presets and custom eases** (ADR 0081: Classic Ease with a strength and Quad, Cubic, Quart, Quint, Sine, Back, Circ, Bounce and Elastic In/Out/In Out; custom eases of up to 64 Bézier points in the Custom Ease window, x kept monotonic, overshoot allowed, keyboard operable, **shape tweens** (morph between any two shapes: segments made cubic, subpaths paired by size and grown from or shrunk to a point when counts differ, segment counts equalized by subdivision, windings matched and start points aligned; amber spans; classic ⇄ shape keeps the easing; **shape hints** (ADR 0023): Modify › Shape › Add Shape Hint (Ctrl+Shift+H) adds lettered markers `a`–`z` that the artist drags onto an edge on the first and last keyframe (rose until placed, amber placed on the first, mint on the last; right-click removes), the morph cuts both outlines at the hinted points and matches the pieces in order by length; `tween.add_hint/move_hint/remove_hint/clear_hints/hints`; not yet: View › Show Shape Hints, hints inside symbols edited in place), auto-key when editing inside a tween, frame labels, symbol nesting: graphics keep step with their timeline (loop, play once, single frame, first frame; set in Properties), movie clips loop their own timeline from when the instance appears (continuous across keyframes holding the same instance), buttons show their Up frame, looping playback. **Onion skin and Edit Multiple Frames** (ADR 0047): onion markers on the frame ruler (drag the start and end brackets; Always Show Markers, Anchor Markers, Onion 2 / Onion 5 / Onion All, also on a right-click on the ruler), frames before and after the playhead tinted in their own colours (theme blue and green, changeable in the onion menu, Reset) and fading with distance, Outlines, Keyframes Only, locked layers left out as in Animate, each layer's onion frames under its own artwork and over the layers below; options saved in the preferences; the stage's frame cache keys every look apart. **Edit Multiple Frames** shows every keyframe within the markers at full strength and selects (click, Shift-click, marquee, Select All) and moves (drag, arrow keys) artwork across them, one undo step, motion tween paths moving with their objects. Headless: `frames.artwork`, `frames.edit_multiple`. **Edit Multiple Frames, complete** (ADR 0051): Cut, Copy, Paste (current frame), Paste in Place (back keyframe by keyframe, or a one-frame copy onto every keyframe between the markers), Clear, Align (Ctrl+Alt+1…6, To Stage), Rotate 90° and Flip, and **Free Transform** of the selection on every keyframe about one shared pivot (one box, one undo step per drag); raw shapes moved, transformed or pasted merge again on their own keyframe; **onion skin and Edit Multiple Frames inside a symbol edited in place**, on its own timeline and markers. Headless: `frames.transform`, `frames.align`, `frames.delete`, `frames.copy`, `frames.cut`, `frames.paste`, `frames.merge`, `merge` on `frames.edit_multiple`. Not yet: Duplicate/Distribute/Arrange and recolouring across keyframes, scaling a motion tween's object on several frames, a draggable pivot. **Mask layers**: right-click a layer › Mask turns it into a mask over the layer below (Masked adds more layers to it); masked layers are indented under a stencil icon; the mask applies on the stage and in every export alike, and while the mask layer is unlocked its edge shows in the layer colour so it can be picked and reshaped; masked-away parts cannot be picked; layers moved in under a mask join it, moved out leave it, and a mask moves with its whole group; masks inside symbols nest. Headless: `layer.toggle_mask`, `layer.set_type`. **Scenes** (ADR 0011): the movie is an ordered list of scenes, each its own timeline, edited one at a time (scene menu on the edit bar, Insert › Scene, Modify › Scene, Shift+PageUp/PageDown); add, duplicate (fresh ids), rename, reorder and remove (asks when the scene has artwork; undoable); PNG-sequence and GIF exports play every scene in order. **Layer folders**: nestable folders (depth ≤ 16) holding layers and masks through `Layer.parent`, one invariant (`Timeline::repair_masks`: a child sits below its parent inside the parent's unbroken run; broken links fall back to the nearest valid ancestor); hiding or locking a folder hides or locks its contents (rendering, picking, drawing); folders open and close on the timeline (view state); layers move in and out with Up/Down, a folder moves with its contents; deleting a folder deletes its contents (asks first). **Motion tweens** (ADR 0016): a span's object animated property by property (x, y, scale, colour, filters, and instance filters tween; XFL custom and per-property eases import exactly; `ease.*` headless) + curve preview, rotation, skew, alpha, tint), each property its own curve of property keyframes with a per-segment ease (any preset, saved ease or custom ease of several segments, ADR 0081; overshoot allowed); auto-key turns any edit of the object inside the span into property keys (every command, through the session), F6 keys every property, splits and copies keep the motion; sky-blue spans with property-key diamonds; **Motion Editor** tab beside the timeline: property list with values at the playhead, curve graph with draggable keys and Bézier handles, one undo step per drag. **Retiming** (ADR 0083): keys drag sideways in time (snapped to frames, never past a neighbour), Shift-click picks keys across properties, an All lane picks a frame's keys, Left/Right move picked keys with the curve focused; dragging a span's end stretches a motion tween's keys in proportion (Shift keeps them); a click picks a whole motion span and dragging (or a selection of whole tween spans) moves it at its length, Alt-drag copies; **Split Motion** / **Join Motion** (split then join is exact). Headless: `motion.move_keys`, `timeline.resize_span`, `timeline.move_spans`, `motion.split`, `motion.join`. Not yet: joining two independent motion paths, retiming from a span's left edge. **Motion paths** (ADR 0030): a motion tween may carry a cubic path its object travels by arc length, timed by the X/Y curves (a straight path reproduces them exactly, overshoot included); shown on the stage in the motion colour with a dot per frame when the object or span is selected; Selection drags the path to bend it and its ends to move them, Subselection drags anchors and handles; moving the object reshapes the path; Orient to path and Straighten in Properties; splits cut the path. **Path points** (ADR 0038): with Subselection, double-click the path to add a point (shape and motion unchanged), Shift-click to select several anchors, Delete to remove them (the path refits through the rest; the ends stay), right-click for smooth/corner and Straighten; the Pen's Alt-click adds a point to a motion path or a selected shape; Ctrl-drag (⌘-drag) the path or its object, or edit Properties › Path start, to move the whole path with its timing exact. **Anchors pinned to frames** (ADR 0049): moving the object at a frame pins a path point there (a new anchor where it was put; after the last position key the path carries on), and the object passes every pinned point exactly on its frame, the X/Y eases timing it between pins; pinned points are diamonds with their frame number on the stage, blue keys in the Motion Editor's X/Y (dragging one moves its point) and holed diamonds on the timeline; Subselection's right-click pins to the playhead's frame or unpins, Properties › Frame has Pin Here / Unpin, F6 pins where the object is; point edits keep pins on their anchors; files without pins evaluate exactly as before. Headless: `timeline.create_motion_tween`, `motion.*` (`motion.set_path/clear_path/orient/add_point/delete_points/convert_point/move_path/pin_point/unpin_point`; `motion.info` reports `pins`). Not yet: retiming a pin by dragging its key in time, two pins on one anchor, XFL motion path keyframes, a marquee over path anchors, nudging or transforming a whole path, retiming keys, rescaling keys with the span, XFL motion-tween import. **Bones and IK, first slice** (ADR 0043): the Bone tool (M) drags from one symbol instance to another to join them with a bone on an armature layer (chains join end to start: a bone from a chained instance always starts at its joint; branches allowed, up to 256 bones); bones show as wedges in the layer colour; the Selection tool drags a bone (the grabbed point follows) or a posed instance to pose by cyclic coordinate descent (joint limits, pinned bones, one undo step per drag) and the root to move it all; poses are joint angles keyed per frame and tweened with the span's easing; Properties › Bone (angle, constrain min/max, pin, remove); `bone.*` headless; every export sees the pose. **Shape armatures** (ADR 0071): the Bone tool draws bones inside a shape (it moves to an armature layer as an object, outside merge drawing); its points are bound to the nearest bones automatically (weights by distance to each bone, up to four, summing to 1) and bend by linear blend skinning (handles with their anchors, strokes keep their width, the rest pose exact); the **Bind tool** (Shift+M) shows the points (squares, triangles where shared) and binds them by click, Shift/Ctrl-click or box; the same IK, poses and tweens; `bone.add_in_shape`, `bone.bind`, `bone.info {points}`. **Painted weights and reshaping** (ADR 0090): the Bind tool's **Paint Weights** brush (Add, Subtract, Smooth; size with `[`/`]`, strength; soft falloff) paints a bone's share onto the points under it, shown live as a heat map (blue none to red all) on the outline and points; weights stay normalised per point (the other bones share the rest, a point's only bone gives way to its nearest other bones), painted points are hand-bound, one undo step per stroke (1.15 ms for 32 dabs over 20,000 points); a focused point's weights as numbers in Properties › Bone (keyboard); Subselection edits a bound shape's outline at the rest pose (move, add, delete, smooth/corner) keeping the binding: moved points keep their weights, new points blend their neighbours', deleted points drop theirs, the rest pose exact; `bone.paint_weights`, `bone.set_weight`. **Springs, joint translation and members in place** (ADR 0084): joints slide along X/Y of what they start on, freely or within pixel limits, as part of each pose (IK slides only where turning can't reach); per-bone Spring and Damping swing bones after the motion and settle, evaluated as a pure replay of up to six seconds of motion (seeking equals playing bit for bit; 0.33 ms a frame for 16 sprung bones), shown on the stage, in Test Movie and every export, switched off per armature for posing; a picked bone's instance takes colour effect, blending and filters in place on every pose; `bone.set_translation`, `bone.set_spring`, `bone.enable_springs`. Not yet: runtime armatures, XFL import, mixing instances and shapes in one armature (proposed in ADR 0084 and 0090), reshaping at a posed frame, gravity and wind. **Asset Warp** (ADR 0079): the **Asset Warp tool** (Shift+Q) pins a shape or a bitmap (the first pin covers it with a warp mesh: a grid over its bounds, 2–48 cells along the longer side, Properties › Asset Warp); dragging a pin bends the artwork around the other pins by rigid moving least squares (Schaefer et al. 2006) at the mesh's vertices, live, one undo step per drag; Delete removes a pin; pins are added to every keyframe holding the artwork and their poses tween with classic tweens and easing; shapes bend through the mesh (straight edges exactly, curves split), bitmaps are drawn through its triangles by the CPU oracle (bilinear) and the GPU stage takes the same prepared fill (parity exact); the rest pose is the drawing bit for bit; every raster export, SVG (a bent bitmap baked as an image), Lottie and HTML (a bent bitmap reported) go through `evaluate`; `warp.add`, `warp.pin_add`, `warp.pin_move`, `warp.pin_remove`, `warp.remove`, `warp.info`. Not yet: as-rigid-as-possible solving on a mesh that follows the outline, symbols and text, binding warp pins to bones, a GPU textured-triangle path, bent bitmaps in HTML and Lottie, XFL import of warped assets. eases saved in the document and offered everywhere; copy/paste of an ease; classic tweens eased per property group: position, **Camera layer** (ADR 0027): the camera button in the timeline header or the Camera tool (C) adds a Camera layer on top; its frame shows on the stage in orange; drag to pan, turn with the round handle, wheel to zoom (one undo step per drag); Properties › Camera (position, zoom, rotation, tint, reset); keyframes and classic or motion tweens animate it; layer Depth gives pan parallax; View › Preview Through Camera shows the movie's picture (artwork tools pause there); hiding the camera layer turns it off; every export, Test Movie and the GPU stage see it. Headless: `camera.add/remove/set/info`, `layer.set_depth`. **Camera, second slice** (ADR 0082): layer depth in a pinhole perspective (deeper layers move and zoom less, draw behind nearer ones; depth 0 bit-exact), depth keyed over time (linear between keys), **Window › Layer Depth** (layers by depth, drag nearer or farther, key, attach), **Attach Layer to Camera** (timeline toggle; HUDs stay on screen), camera colour effects (Brightness, Tint, Advanced), and the Selection tool picking and moving artwork while previewing through the camera; headless `layer.set_depth {key, frame}`, `layer.remove_depth_key`, `layer.set_attached`, `layer.depths`, `element.pick {view: camera}`. Not yet: other tools while previewing, depth inside symbols, depth keys moving with inserted frames, XFL camera and layer-depth import (no public format description). **Motion guides**: guided layers (children of a guide through `Layer.parent`) have their classic tweens follow the guide's first path by arc length, from the point nearest each start keyframe to the point nearest its end (`geom::walk::PathWalk`), optionally orienting to the path; guide artwork is listed for picking and editing, drawn on the stage as a line, and never rendered or exported. **Layer parenting** (ADR 0113, #388): a layer follows the first object on its parent layer (position, rotation, scale, skew) at every frame, chains of any length up to 64, a parenting view in the layer list (dots to drag, a parent menu, keyboard and screen-reader access), parenting keeps the stage position in one undo step, followers are edited in stage space, every export; not yet: a parent that changes over time, Edit Multiple Frames and motion paths in stage space on a follower, XFL import. |
| Drawing | Selection (click, shift-add, marquee, drag-move, arrow nudge; **across layers**, ADR 0044: a selection holds artwork on several visible, unlocked layers, the timeline marks them, Properties shows mixed values), **Free Transform (Q)**: scale from corner/edge handles (Shift proportional, Alt from centre), **skew** by dragging the line between two handles (the opposite edge stays, Alt about the centre; outside PR #176), rotate outside corners (Shift snaps 15°), move; one undo step per drag. Rectangle (corner radius), oval, PolyStar, line (45° snap), hand, zoom. **Pen (P)**: click for corners, drag for smooth handles (Alt breaks them), close on the first point, Enter/Esc/last-point click finishes, Backspace takes back a point; one undo step per path. **Pencil (Shift+Y)**: Smooth (Schneider curve fitting with corner detection), Straighten and Ink modes, smoothing relative to the screen. **Subselection (A)**: anchors and handles on selected shapes, drag points/handles (anchors bring their handles; one undo step per drag), point marquee, double-click an edge to add a point, Delete removes points, right-click Make Smooth/Corner; closed shapes' start point and closing edge edit like any other. **Cut/Copy/Paste in Center/Paste in Place** (the clipboard carries symbols across documents; pasted raw shapes float, selected, until they are deselected, and Paste takes a picture copied in another app as a bitmap, ADR 0108; not yet: vectors copied in other apps). Free Transform: not yet a transformation point you can move (it is the box's centre) or a box that turns with a rotated object. **Rotate 90° CW/CCW, Flip H/V. Align** left/centre/right/top/middle/bottom (Ctrl+Alt+1…6; a single element aligns to the stage) and distribute. Convert to symbol / break apart; arrange; duplicate. Headless: `draw.path`, `draw.freehand`, `path.move_points/add_point/delete_points/convert_point`. **Paint Bucket (K)**: click a fill to recolour it, or inside an outline (one shape or several) to fill the enclosed area; gap size None/Small/Medium/Large closes openings; the fill is traced and curve-fitted into a new shape placed under its lines; open areas say so instead of flooding. **Ink Bottle (S)**: gives the clicked shape the current stroke. Headless: `paint.bucket`, `paint.ink`. Tool options show first in Properties while a drawing tool is active. **Text (T)** (ADR 0012): click to type on the stage, click or double-click text to edit it; font (installed families, plus the embedded Inter), size, colour, under or over the artwork, snap accuracy up to Always); Snap to Pixels; one snap engine for every drawing tool, the Selection tool's moves and Free Transform's handles (point › guide › line › grid › pixel, guides and grid per axis); stage only, never exported, on the CPU and GPU stage. Headless: `view.rulers`, `view.grid_show/grid_snap/grid_set`, `view.guides_show/guides_lock/guides_snap/guides_set`, `view.guide_add/guide_move/guide_delete/guides_clear`, `view.snap_pixels`, `view.aids`, `moving` on `draw.snap`. *Not yet:* units other than px, a movable ruler origin, a symbol's own guides, guides and grid from Animate files, Snap Align and Edit Snapping, snapping while rotating. bold, italic, alignment, letter/line spacing, wrap width; the last style is kept for new text; laid out by `anicraft-text` (`fontdb` discovery, `harfrust` shaping, `skrifa` outlines) and stored as outlines with the source, so rendering never needs the font; Break Apart makes a shape. **Variable-width strokes** (ADR 0018): a stroke's width varies along it through width points (position by arc length, a width on each side as a factor of the stroke width, smooth monotone interpolation); built-in profiles (Uniform, Taper both ends, Taper start, Taper end, Bulge, Pinch) in Properties › Width with a picture of each, and in the drawing tools' options for new strokes; the **Width tool (U)**: hover a stroke to see its width points, drag a handle to widen or narrow (Alt: one side), drag the dot to slide a point, drag anywhere on the stroke to add one, Delete removes; one undo step per drag; rendered by the oracle as trapezoids with outer round joins and cross-section caps, written by SVG and Lottie export as the same filled outlines; shape tweens blend profiles; `.anicraft` keeps them (older files open as uniform). Headless: `stroke.set_profile`, `stroke.set_width_point`, `stroke.delete_width_point`, `stroke.width_at`, `profile` on `element.set_stroke`, the drawing commands and `paint.ink`. Not yet: width data from or to Animate files, saved custom profiles, pressure. **Stroke styles** (ADR 0046): Properties › Style (Solid, Dashed with dash and gap, Dotted with spacing), Cap (None, Round, Square), Join (Miter, Round, Bevel) and Miter limit, also in the drawing tools' options for new strokes; drawn exactly by the oracle (butt and square caps, miters bevelled past the limit, dashes by arc length restarting per subpath, round dots, dashes keeping a width profile's widths; sub-pixel patterns solid and faded) and so by the GPU stage; the Ink Bottle carries the style and the Eyedropper picks it; merge drawing keeps it on cut pieces; shape tweens blend miter limits and dash lengths; SVG, HTML canvas and Lottie export write it. Headless: `stroke.set_style`, and `cap`, `join`, `miter`, `style`, `dash`, `dash_offset`, `dot_spacing` on `element.set_stroke`, the drawing commands and `paint.ink`. Not yet: Animate's ragged, stipple and hatched styles, multi-dash patterns in Properties (kept and editable by command), stroke scale modes and hairlines. **Merge drawing** (ADR 0031, first slice): with Object Drawing (J) off, the editor's default, the shape tools, Pen and Pencil draw raw strokes and fills that cut and join the raw shapes they touch (a fill on top replaces what it covers or joins the same colour, lines cut each other and the fills they cross, a fill hides the lines under it, points within 0.2 px are one; exact Bézier pieces, `anicraft_geom::planar`); one element per fill region and stroke run, selected with Animate's dot pattern; double-click selects connected strokes, or a fill with its outline; a dragged or nudged raw shape merges where it lands; arrows move 1 screen pixel (Shift 10). Headless: `object` on the drawing commands (scripts draw objects by default), `draw.object_drawing`, `draw.drop`, `element.select_connected`. **Selection tool on raw shapes** (ADR 0041): drag an unselected segment or fill edge to bend it through the pointer (every shape sharing the edge bends with it), an unselected corner or end to move it with every raw shape that shares it, a fill to move only that fill; points and selections snap to points, strokes and fill edges within 10 screen px (snap ring), and arrow nudges join ends within 0.2 px at their midpoint or onto a line that stays put; a corner or curve mark by the pointer shows what a drag does; the marquee selects the parts of raw fills and strokes under it, cut at its edges (taken back if nothing uses them, no undo step), and objects wholly inside; each drag one undo step, merged on release. Headless: `path.bend_segment`, `raw.move_point`, `raw.select_rect`, `raw.merge`, `raw.hit`, `snap` on `element.translate`. **Subselection on raw shapes and merging everywhere** (ADR 0042): with Subselection (A), a click on a raw line or fill shows the anchors of everything connected to it (once per shared point; hollow, selected ones solid) and the handles of the selected anchors' curves and of the clicked edge; drag an anchor to move it with the other selected ones and every shape on them, a handle to change the curve in every shape that has the edge, a line or fill to move everything connected; Shift adds or removes anchors; the marquee takes whole shapes on the active layer and selects the anchors inside; arrows nudge 1 screen px (Shift 10); one undo step per gesture, merged on release. **Snap to Objects** (View › Snapping, a magnet under the tools, the selection tools' options) switches the Selection and Subselection tools' snapping. The Paint Bucket's raw fills are exact (up to the lines and fill edges, from the planar merge) and join fills of their colour; pasted raw shapes cut what they land on; raw shapes from Animate files open raw and merged; gradient and bitmap fills take part in the merge. Headless: `raw.subselect`, `raw.subselect_rect`, `raw.points`, `raw.move_handle`, `with` on `raw.move_point`, `draw.snap_to_objects`, `object` on `paint.bucket`. Width profiles take part in the merge since ADR 0093. **Raw points and symbols in place** (ADR 0045): add a point on a raw edge (Pen Alt-click, Subselection double-click; every shape on the edge gets it, the curve unchanged), delete raw points (Delete; the shapes on each are joined across it so the drawing stays connected; points where three edges meet are kept), Make Smooth / Corner on raw points, smooth handle pairs (Alt breaks them; drawing objects too); the Line, Rectangle, Oval, PolyStar and Pen tools snap their points within 10 screen px (Snap to Objects, Ctrl+Shift+/); a double-click on an instance (or Ctrl+E, or a double-click in the Library) opens the symbol in place, the stage dimmed around it, the edit bar showing the path back, and every tool and command works on its timeline. Headless: `raw.add_point`, `raw.delete_points`, `raw.convert_points`, `draw.snap`, `smooth` on `raw.move_handle` and `path.move_points`, `symbol.edit`, `symbol.exit`. Not yet: rotated instances in place (they open upright). Onion skin and Edit Multiple Frames work inside a symbol since ADR 0051. **Brush (B)** (ADR 0033, first slice): paints filled shapes in the fill colour, the exact area the tip sweeps (a distance field traced and fitted with cubics); round or square tip with size, angle and roundness (oval and flat calligraphic tips), pen pressure from a tablet (10–100 % of the size; a mouse paints full size), smoothing relative to the screen, Paint Normal, Paint Fills and Paint Behind; a raw shape that merges with the drawing, or a drawing object with Object Drawing on; a click paints a dab; live preview while dragging; `[` and `]` change the size; one undo step per stroke. Headless: `draw.brush`. **Paint Selection and Paint Inside** (ADR 0080): the paint is clipped to the selected fills' union, or to the fill (or closed-off empty area) the stroke starts in, exactly on the planar map, then merged under the lines; Paint Selection keeps the selection for the next stroke. Not yet: the live preview clipped as it paints. **Brush library, pressure curves and the Paint Brush (Y)** (ADR 0068, first slice): Window › Brush Library with seven built-in brushes made only of parameters (Pencil, Ink Pen, Flat Calligraphy, Round Taper, Marker, Chalk with a deterministic worn edge, Dotted stamps), each with a stroke preview drawn by the renderer; brushes of your own saved by name in your preferences, renamed, deleted (asks first) and moved between computers as a JSON brush set; a pressure curve editor (Linear, Soft, Firm, or your own points) driving size and, optionally, the stroke's opacity; tapers, dab spacing and a rough edge in Properties; Velocity (mouse speed as pressure, off by default); the Paint Brush draws a width-profiled stroke in the stroke colour that the Width tool edits. Headless: `brush.preset_list/save/rename/delete/export/import`, `preset`, `curve`, `as_stroke` and the shaping params on `draw.brush`. **Tilt, texture and scatter** (ADR 0093): per-sample pen tilt (Pointer Events altitude and azimuth in `draw.brush` points) turns the tip by the azimuth and widens it up to 2× as the pen leans (Brush › Tilt: Angle, Width, shown once a pen reports tilt; the Paint Brush's width too), a fixed paper grain of holes (Texture) and dabs thrown either side (Scatter), all vector fills; built-in Charcoal and Spatter (nine brushes). Not yet: reading tilt from the pen on desktop systems (winit 0.30 reports it only on iOS), opacity varying along a stroke, bitmap or art brushes, Eraser presets and pressure. **Eraser (E)** (ADR 0034, first slice): sweeps the Brush's tip and takes what it covers out of the raw shapes on the active layer (the sweep is a fill in the planar merge that comes out empty); Erase Normal, Erase Fills, Erase Lines, Erase Selected Fills and Erase Inside; the Faucet deletes a whole fill or line with a click; drawing objects, symbols and text are kept; a stroke that erases nothing leaves no undo step; live preview, `[` and `]` sizes, one undo step per stroke; double-clicking the tool (or Erase Everything… in its options) clears the visible, unlocked layers at this frame after asking. **Eyedropper (I)** (first slice): a click on a fill picks its paint (solid, or a gradient or bitmap kept where it is on the stage, as Lock Fill) into the fill swatch, a click on a line picks its colour, width and profile; with shapes selected it applies the style to them; then it becomes the Paint Bucket or the Ink Bottle; Shift-click picks into the other swatch only. Headless: `draw.erase`, `draw.faucet`, `draw.erase_all`, `paint.pick`, `paint.apply_style`. Since ADR 0093: width-profiled lines erase and merge, each piece keeping its widths; gradient pieces keep their gradient where it was; inside an open symbol or drawing object the Eraser erases its shapes, and on the stage the status bar says how. Not yet: eraser pressure, picking text styles, an eyedropper cursor (a bitmap's pixel colour comes from the colour picker's eyedropper, ADR 0109). **Modify › Shape, the picker's eyedropper and transformation origins** (ADR 0109, M1; #179, #288, #296): Convert Lines to Fills (a line's exact outline as curves, with caps, joins, dashes and width profile, within a pixel of what the renderer strokes; raw fills join the drawing, objects stay objects), Expand Fill (exact offsets in stage pixels: expanding rounds corners, insetting keeps them) and Soften Fill Edges (1 to 50 bands, alpha stepping down, expand or inset, on colours and gradients), each with Animate's dialog; while a colour picker is open a click on the stage takes the colour drawn there (`paint.sample`: gradients, bitmaps, lines, effects), with a preview chip and Esc to cancel; Free Transform's Transform about (the whole selection, each object's registration point, each object's centre), marked on the stage, followed by Rotate 90° and Flip, with a bindable command to cycle. Not yet: origins with Edit Multiple Frames, previews in the two dialogs, miter corners for Expand Fill, picking from outside the window. **The transformation point, a turning box and layer opacity** (ADR 0111, M1; #302, #280, #178, #183, #175, #279): Free Transform's white circle is dragged (snapping to the box's handles and centre, free with Alt, also outside the box) and double-clicked back to the centre; a symbol instance keeps its point in the file (`pivot`, in its own space) and Free Transform, Rotate 90° and Flip, Properties' Scale and Rotation (a Pivot row with Reset) and classic and motion tweens turn and scale it about it (an arm swings on its shoulder); raw shapes, groups, text and several objects have a point for the selection while the tool is held; one selected element shows its own box, turned, scaled and skewed with it, its handles acting along its own axes; **layer opacity** (Layer Properties, the layer's right-click menu, a percentage beside the name): the layer fades as one group in `evaluate`, a folder fades its layers, in every export and on the CPU and GPU stage. Headless: `modify.transformation_point`, `modify.reset_transformation_point`, `layer.set_opacity`, `opacity` on `layer.set_properties`. Not yet: the transformation point of Animate files' instances, a kept point for groups, text and drawing objects, the point with Edit Multiple Frames and on motion guides, opacity keyed over time, an authoring-only layer transparency. **Colour picker and drawing-tool fixes from user reports** (M1): every colour swatch (the Tools panel's fill and stroke squares too) opens one picker with Animate's web-safe swatches (216 colours, greys and primaries), the colours mixed or typed this session, a hex field, an alpha (a solid fill's own, and a different one on each gradient stop) and the full mixer; the Tools squares offer No Colour and recolour selected shapes; drawing tools leave nothing selected after a stroke and the Selection tool's box has no handles (they are Free Transform's); Break Apart turns drawing objects into merged drawing; Ctrl-drag on a raw edge adds a corner point; the Pencil and Line show no fill. **Swatches panel** (ADR 0078): Window › Swatches, the document's saved colours and gradients (in the `.anicraft` file; a default set for new documents and older files); click applies to the selection and the tool colour, to the stroke or fill that is active (Tools squares, Colour panel or the panel's toggle; gradients always to the fill); + adds the active colour or gradient, Duplicate, Delete, drag (or Alt+arrows) to reorder, names on hover, Clear (keeps black and white) and Load Default Swatches (ask first, undoable); import and export as a JSON swatch file, GIMP `.gpl` import; the colour picker shows the document's swatches and the fill picker its gradient swatches. Headless: `swatch.list/add/remove/move/duplicate/rename/apply/clear/reset/import/export`. Not yet: swatch folders, sorting by colour, bitmap swatches, Save as Default, XFL swatch import (no public description), Adobe `.aco`/`.ase`/`.clr` (proprietary). The layer footer is icon buttons (New Layer, Delete, New Folder, Up, Down) that fit at any size and language. **Groups and Combine Objects** (ADR 0073): Modify › Group (Ctrl+G) / Ungroup (Ctrl+Shift+G), a group element whose members are a one-layer, one-frame timeline, opened in place by a double-click like a symbol (every tool works inside; raw shapes merge only with each other); nested groups; exports, player, sounds and the Library see inside; XFL `DOMGroup` imports as groups. Combine Objects › Union, Intersect, Punch, Crop on the planar map (analytic area tests). Selection tool: Alt-drag copies, Shift constrains to 45° (Ctrl/⌘-drag corners: #257). **Drawing parity leftovers** (ADR 0080): PolyStar's Shape (Polygon or Star), sides 3–32 and star point size 0–1 in its options (`shape`, `sides`, `point_size` on `draw.star`); a double-click (or Ctrl+E) opens a drawing object in place, its raw shapes merging only with each other, and it closes as one object again (a group of the pieces when an edit leaves several); **Modify › Transform › Envelope**: a Bézier mesh of corner and tangent handles bends the selected shapes and drawing objects, one undo step per drag, baked like Animate's (no Delete Envelope needed), undo restoring the mesh; headless `modify.envelope`, `modify.envelope_move`, `modify.envelope_close`. *Not yet:* gradient and bitmap strokes (proposed in ADR 0080), envelope handles from the keyboard, an envelope on symbols, text or groups, drawing objects edited without opening them (#181), Combine across layers. **Rulers, grid and guides** (ADR 0076): View › Rulers (stage pixels, following zoom and pan, pointer marked); guides per scene saved in the document, dragged from a ruler, moved with the Selection tool, dragged back to delete, Show/Lock/Snap/Edit/Add/Clear (Edit Guides lists and adds them from the keyboard); a grid (spacing, **Pen parity and Keep area** (ADR 0115, #319, #408): the Pen makes its last point a corner on a click, pulls a new handle or redraws the curve (Alt) from it, keeps 45° steps with Shift, previews the next segment as it curves, and on a selected path converts and deletes points, adds them on the outline and continues an open drawing object from either end (`path.extend`), with a mark by the pointer for each; tweens of any kind take **Keep area** (`timeline.set_keep_area`): scale goes geometrically between keys so keys of one area keep it on every frame, an unkeyed scale axis of a motion tween follows the other, the Motion Editor draws the derived curve and exports bake it. Not yet: continuing a merged line as the same stroke, OS pen cursors, Keep area per segment. |
| Plug-ins | **WebAssembly plug-ins** (ADR 0017, `docs/plugins.md`): sandboxed modules run by `wasmi` with no imports but the AniCraft ABI (`anicraft.call`/`anicraft.response`: JSON requests that run registry commands, read a compact document view or the active layer's elements, and log); fuel (10⁹ instructions), memory (256 MiB), wall-clock (5 s), request, size and log limits, a fresh instance per run; file, plug-in, undo and clipboard commands refused. `plugin.install/list/run/remove/reload`; a run is atomic and one undo step named after the plug-in. App: **Commands** menu (Plug-ins, Install, Manage, Reload), palette entries, a dialog generated from the manifest's parameters with a live preview; plug-ins load from `<settings>/plugins` or `ANICRAFT_PLUGINS`; CLI `--plugins`. Samples in Rust (Star Field, Jitter Selection, guest SDK) in `examples/plugins`. Frame scripts: see Interactivity. **Exporter and ease plug-ins** (ADR 0088): `kind: "exporter"` declares a format (name, extension, options) and gets evaluated frames (`movie`, `frame`: the flattened display list, never the document), returning the file's bytes from `ac_export` (64 MiB cap, 5·10¹⁰ instructions, 10 min); File › Export lists it with an Export window (options, frames, file, progress bar and Cancel on a worker thread); `file.export_plugin`, `file.export_formats`, `anicraft-cli export --format <id>` and `formats`. `kind: "ease"` declares named eases, `ac_ease(i, t)` sampled into 257 values at load (NaN, unbounded or end-missing eases refused); `Easing::Sampled` keeps the table in the document, so it plays the same without the plug-in; the ease menus list them under Plug-in eases; `{plugin, ease}` easing params. Samples: Plain Text Frames and Stepped Eases, built and run in CI. Not yet: plug-in formats in Publish, bitmaps' pixels and sounds for exporters, ease plug-ins with parameters, background runs of command plug-ins, a binary document view. |
| Interactivity | **Frame actions, frame scripts and Test Movie, first slice** (ADR 0024): a typed timeline action IR (`anicraft-actions`: stop, play, go to a frame or label in a scene, next/previous frame and scene, trace, set x/y/alpha/visible/rotation/scale, instance-name target paths) on keyframes and on button and movie clip instances (click, press, release, over, out); a pure, deterministic, budgeted player in `anicraft-doc` (`step(doc, &state, &events)`; movie clip playheads, button Up/Over/Down states with Hit-frame hit tests, script-set properties) drawn by `evaluate_player`, while `evaluate` and exports stay script-free. **Actions panel** (F9: structured lists, targets/labels/scenes picked from the document; movie clip timelines too), instance name and events in Properties, an "a" on keyframes with actions. **Frame scripts** on the plug-in host (`kind: "frame-script"`, entry points, `player`/`action` ops, 20 M instructions per frame shared, no document access). **Test Movie** (Control › Test Movie, Ctrl+Enter): the player at the document frame rate in its own window with the pointer, restart/pause/step and an Output panel. **A window of its own on the desktop** (ADR 0062): sized to the stage at 100 % (smaller to fit the screen), titled with the document, back where it was last (not on Wayland, where the desktop places windows), with the keyboard when it opens; Esc or Ctrl+W (⌘W) closes it, Ctrl+Enter restarts it in place, and the editor's Ctrl/Alt shortcuts work from it; floating inside the editor in the web build, where the system can't open windows (it says so), or by choice in Preferences › Test Movie. Not yet: full screen, zoom in the movie window, remembering its size. Headless: `actions.set/clear/list`, `instance.set_name`, `control.test_movie` (timed pointer events, returns output and state). **HTML canvas export** (ADR 0028, `file.export_html`, File › Export › Export HTML Canvas…): one self-contained page (data, player and drawing code inline; images and sounds embedded) that plays in any browser with canvas 2D; every used timeline baked frame by frame (tweens of every kind exact, identical paths, paints and frames stored once), movie clips, buttons with Hit areas and every action run by `player.js`, a port of the Rust player checked against it step by step in Boa (state, output and display list); masks and fading/blending groups on offscreen layers; **filters and Subtract/Invert in the page** (ADR 0072: `filters.js`, a port of the renderer's filters run over the group's pixels on a layer that reaches past the canvas by the filters' reach, Subtract and Invert composited per pixel, results kept while the group is unchanged; equal to the oracle's pixels within 9.3e-4 in Boa; 3.4 ms a frame for the demo's filters at 1080p while they change); Web Audio for Event/Start/Stop/Stream sounds; bitmap tints, 9-slice scaling and plug-in frame scripts reported. Not yet: 9-slice in the page, keeping a moving filtered group's pixels, filters off the main thread. **Kept frame scripts** (ADR 0013 tier 1): scripts written in another language (an Animate document's ActionScript) kept verbatim on keyframes with their language, symbol linkage classes and the document class; the Actions panel's **Script** view (monospace editor with line numbers, language, live and undoable), the same "a" marker, Class rows in Properties; `script.set/clear/list/set_class`; **ActionScript timeline subset runs** (ADR 0013 tier 2): a hand-written, bounded lexer and parser (`anicraft_actions::as3`) lower stop/play/go to/next and previous frame and scene on instance-name paths, mouse listeners (click, down, up, roll over and out; named or inline functions, `currentTarget`), `trace` and property settings to the action IR, compiled once per script; anything else is reported with line and column and the script doesn't run (never half-run), `navigateToURL` and the like are ignored and noted; the player keeps listeners per instance, Test Movie's Output says which scripts run and which don't and why, the Script view lists problems in place, the XFL report and `script.list/check` say what runs, and the HTML page runs the same steps (`player.js` checked against the Rust player). **ActionScript small logic** (ADR 0052): scripts compile to a small typed script IR evaluated by the player with fuel (100,000 per script or listener call, 1,000,000 per step; an endless loop or a run-time error stops its script with an Output line and the movie plays on): typed variables (Number, int, uint, Boolean, String, untyped) kept per timeline instance across its frame scripts, expressions as ECMA-262 has them, `if`/`else`, `for`/`while`/`do`, functions with parameters, results and recursion, called from any frame of the same timeline (a timeline-level link step; names that aren't there keep the script from running, said in place), property reads of instances and timelines (`x`, `y`, `alpha`, `visible`, `rotation`, `scaleX/Y`, `currentFrame`, `totalFrames`, `currentLabel`, `mouseX/Y`, `name`), `removeEventListener`, `Event.ENTER_FRAME`, `KeyboardEvent.KEY_DOWN/KEY_UP` on the stage with `e.keyCode`, `e.target`/`e.currentTarget`, seeded `Math.random()`; keyboard in Test Movie and the HTML page, `control.test_movie` key events and `seed`; `player.js` mirrors the evaluator, checked step by step in Boa. Not yet: ActionScript `switch`, `for in`, arrays and objects, string methods, closures, event bubbling, mouse listeners on the stage, ActionScript 1.0/2.0, scripts on instances, filters and keyboard focus in the HTML page, sound actions, keyboard events, variables, persistent script state, masks in hit tests, a separate OS window. **Buttons, complete** (ADR 0057): a button open in place names its frames Up, Over, Down and Hit on the timeline and shows its Hit area translucent over the other states; Test Movie has **Show hit areas**; sounds on its frames play as its state changes. |
| Headless | CLI: info, render, render-seq, **gif**, **apng**, **webp**, commands, exec, run, serve (JSON-lines). **MCP server** (`anicraft-cli mcp`, `docs/mcp.md`): stdio JSON-RPC, protocol 2025-06-18 (and 2025-03-26, 2024-11-05); five tools over the command registry (list, run, run a script, describe the document, render a frame as a PNG picture); confirmation tiers and undo apply as in the app. **Live control** (ADR 0104, `docs/control-protocol.md`): `anicraft --control <port>` and `anicraft-cli mcp --bridge <port>` run the same tools on the open window, on this computer only, with a per-run token in `control.json`. **Automation roots** (ADR 0124, AGENTS.md rule 18): `mcp` refuses to start without `--automation-read-root` and `--automation-write-root`; an assistant's commands read inside the read roots and write inside the write root only, checked in the engine (`engine::access`: given paths before the command runs, every `vfs` call, ffmpeg, XFL folders and the plug-in registry) on the resolved path (`..`, links, junctions, letter case), with errors that name the root; the bridge carries the roots and the window applies them per call (control protocol 2); `serve` takes them optionally (not yet: roots saved in the app's preferences as a cap on any bridge, a shared craft-libs helper, environment variables, file handles held open against a swapped link). |
| Sound | **Audio layers, first slice** (ADR 0020): WAV (own reader), Ogg Vorbis (`lewton`) and MP3 (`nanomp3`) import, bounded and crash-proof; sounds live in the library, stored in `.anicraft` as imported, decoded once in the background. A sound belongs to a keyframe as in Animate (Properties › Sound: name, Sync Event/Start/Stop/Stream, Repeat ×N or Loop); Import to Stage puts one on a new layer spanning its length, Import to Library only adds it, the Library previews, places and deletes sounds. The timeline draws each sound's waveform over its span. Stage playback plays the mix through `cpal` (default feature `sound-output`) and the playhead follows the audio clock; stream sounds resync after a jump and scrubbing plays one-frame snippets. Mixing is pure and sample-exact (`doc::sound::voices` + `audio::mix`, Catmull-Rom resampling between rates). Headless: `sound.place/set/remove/rename/delete`, `file.import_to_library`, **`file.export_audio`** (WAV, 16/24-bit or float, any rate), and Export Video carries the soundtrack (Opus in WebM, AAC in MP4, by the user's ffmpeg). **Second slice** (ADR 0039): each frame sound has an **Effect** (None, Left channel, Right channel, Fade left to right, Fade right to left, Fade in, Fade out, shaped over the time it is heard, or **Custom**: up to 16 volume points per channel in the **Edit Envelope** window, drawn on each channel's waveform; the timeline's waveform follows the envelope). Layers holding sounds get a **Volume** and **Mute** (Properties, and a speaker toggle in the timeline); volumes multiply down through symbols and muted layers are silent in playback and every export. **Sounds inside symbols** play: a graphic's on its own frames mapped to the parent's time (loop mode and first frame apply; streams join mid-way and follow the parent playhead), a movie clip's on a loop from when the instance appeared; in the interactive player and **Test Movie** (which now has sound, the picture keeping time with it) movie clips start theirs as their own timelines reach them. The HTML page carries envelopes, volumes and graphic sounds. Headless: `sound.set {effect, envelope}`, `layer.set_volume`, `layer.toggle_mute`. **Sounds on button frames** (ADR 0057) play in Test Movie and the HTML page as the pointer changes the button's state (Over, Down, and Up and Hit on leaving and release, as the SWF format keeps them; never in the soundtrack); `control.test_movie` lists the sounds it starts. **XFL** brings sounds whose file is in the package (WAV, Ogg, MP3) with the sounds on frames that use them, buttons' included. **Output polish** (ADR 0095): the playhead follows the sound *heard* (the device's latency taken off, frames dropped rather than drifting; under a frame off over an hour in tests), event sounds play to their end across a loop and after the last frame (Enter stops all), a **monitor volume and mute** in the timeline header (Control › Mute Sounds; the listener's, in preferences, never in exports), **Control › Audio Scrubbing** (a slice of at least 1/20 s), a lost or missing device never crashes (silent playback, one notice, a log line, reopened on the next play; a new default device is followed), and the **web build plays sound through Web Audio**. The device sits behind an `Output` trait, so the clock and mixing paths are tested with a fake one. **Audio to keyframes and auto lip-sync, first slice** (ADR 0114, #332): `anicraft_audio::analysis` gives a sound's loudness per movie frame (RMS, normalised to the loudest frame, gated by a threshold, smoothed by a centred average) and, for speech, one of five mouth shapes per frame (rest, open, wide, round, closed) from band energies of a short FFT sorted by the vowels' public formant values, with no speech recognition; pure, deterministic and bounded (10 minutes of sound: levels in 19 ms, mouths in 135 ms). **Convert Audio to Keyframes** (`sound.to_keyframes`; Modify › Timeline, Properties › Sound) maps the loudness onto an object's scale, alpha, position or rotation offset, or a graphic symbol's first frame, as keyframes or as a motion tween's property curve; **Auto Lip-Sync** (`sound.lip_sync`; also beside Looping in Properties) keys the frames of a graphic symbol of mouth poses, found by its frame labels as the mouth chart template names them; `sound.analyse` reports both headless. One dialog previews everything live (a graph of loudness, threshold, value and key ticks, or a row per mouth; the keys themselves on the stage and timeline), one undo step. Not yet: driving the camera, armature layers or filter values from sound; classic tweens between the keys; more than five mouth shapes (F/V, L and the other consonants are placed by hand) or a script as input; the sound's effect and layer volume in the measured loudness; sounds kept only in Animate's own data format (undocumented; reported), **Split Audio** and a sound's in and out points (the start and end handles in Edit Envelope; a frame's sound always plays from its beginning, #502), sound effects and in/out points from XFL, sound panning beyond the envelope, audio in Lottie, stream sounds that follow go-tos in the HTML page, lossless compression of stored WAVs, choosing an output device other than the system's default, `stopAllSounds` as a timeline action. **Importing video** (#369, ADR 0116): File › Import › Import Video… reads any video the user's own ffmpeg reads (found as Export Video finds it; a clear message with how to install it when it is missing; no decoder in AniCraft, pictures cross a pipe as PPM with every size checked and both readers fuzzed). **Frames in the document**: bitmaps on a new layer from the playhead, one keyframe per picture at the document's frame rate (frame step 1–60, largest size, start and length), in a Library folder, with the sound track as a stream sound on its own layer; one undo step. **Reference layer**: a locked guide layer right under the active layer shows the video beneath what is drawn, for tracing, in no export; frames are decoded on demand in runs of 16 on their own thread and kept within 256 MB, the layer's opacity fades it, Layer Properties relinks or removes it. The dialog says up front how many pictures of what size and how much memory, and where a long video is cut (2000 pictures, 1 GB decoded); a progress window with Cancel; cancelling or failing leaves the document unchanged. Headless: `file.import_video`, `file.video_info`, `layer.set_video`. Not yet: sound with a reference layer, moving or scaling the reference with the tools, a reference inside a symbol, video with alpha, collecting footage with the document, compressed storage of the imported sound, video in the web build. |
| Documents | **Several open at once** (ADR 0112): tabs above the edit bar, the shown document in `App`, the others parked whole (session, view, autosave) and exchanged in O(1) (0.2 µs median); the engine and the CLI/MCP stay one document per session. Cross-document paste remaps Library ids (`engine::transfer`). Not yet: a tab in its own window, another document's Library in the panel, session restore, a shared undo budget. |
| Files | `.anicraft` JSON load/save (v3, with scenes; v1 and v2 files open as one scene), PNG frame and sequence export, **animated GIF export** (parallel render and quantize, exact frame timing, looping), **animated PNG and animated WebP export** (WebP container writing delegates to shared `craft-webp`; APNG framing remains app-local; ADR 0063: full colour and real alpha, transparent or on the stage colour; every frame exactly the renderer's; repeated frames merged into longer delays; later frames only the rectangle that changed (APNG blends opaque changes over, WebP replaces); APNG delays exact fractions of the frame rate, WebP milliseconds that never drift; loop forever, once or N times; File › Export, Publish Settings, the web build's downloads, `anicraft-cli apng`/`webp`; not yet: lossy WebP (no permissive pure-Rust VP8 encoder exists), dispose-to-background frames, palette or RGB APNG for smaller files), **SVG frame export** (from the same evaluated frame as the renderer: stage-space paths, renderer-matched stroke widths, caps, joins and dashes, gradients under `gradientTransform`, colour effects baked in, masks as nested `clipPath`s). **Opens Animate documents** (`.fla`, `.xfl`, XFL folders; ADR 0009; `.fla` archives in every common zip layout, ZIP64 included, and hostile ones refused with a readable error, ADR 0054): stage, first scene, layers, keyframes, labels, classic tweens with ease, shapes (solid/linear/radial fills, strokes), groups, primitives, symbol instances (matrix, alpha, tint, loop, blend mode, all seven filters), library symbols, **shape tweens**, **layer folders** and **mask layers** (masks inside folders too); imported files are untitled so Save never overwrites them; what isn't supported yet is reported after opening. One damaged bitmap, sound or library symbol is left out and reported rather than refusing the whole file (#226), and a document without a stage colour gets Animate's default white (#163). Archives whose end record overstates the directory's size, as Flash CS5 to Animate write most `.fla` files, open (#356; until the shared reader does it, storytold/craft-libs#1986). Binary `.fla` (Flash CS4 and earlier) is not read and says so (#163, #289: a stretch goal in `requirements.md`, no clean-room reader yet). Every scene comes across. **Bitmaps**: library items whose image is in the package as PNG or JPEG (the original in `LIBRARY/`, else the `bin/` data file when it is PNG or JPEG), instances, and bitmap fills with their matrix (twips scale removed; repeating unless clipped); Animate's own bitmap encodings are not public and are reported, not decoded. **Text** (ADR 0014): static, dynamic and input text fields become text blocks laid out by `anicraft-text`, with face (by PostScript name, family, or the family the name suggests; `_sans`/`_serif`/`_typewriter`), size, colour, bold/italic, alignment, letter and line spacing, margins, matrix, fixed width (wraps) or auto-size, and several lines; runs in different styles become one block per run of same-style lines, stacked as in Animate; a line mixing styles takes its main style and is counted; missing families fall back and are named in the report; dynamic/input fields come across as static text (reported). **Shape hints** on shape tweens (a tolerant self-authored `shapeHints` reader, ADR 0023). Colour effects in every style (Brightness, Tint, Advanced, Alpha; ADR 0056), movie clip and button instance names, one-segment custom eases (as cubic Béziers); a symbol without `symbolType` is a movie clip; frame comments aren't labels. Stroke caps, joins and miter limit, dashed and dotted strokes (ADR 0046; ragged, stipple and hatched are drawn solid and reported). Reported rather than silently changed: gradient strokes, repeating/reflecting, focal-point, elliptical and linear-RGB gradients, reverse loop modes, extra tween spins. A self-authored corpus with golden renders covers all of it (ADR 0035). Shared `craft-xfl` readers now parse filters, shape hints, tween easing, and frame-sound envelopes; AniCraft retains document-model mapping and validation. The XFL schema audit remains in progress, including per-character styles and motion-tween records; **frame scripts are kept** verbatim (scenes and every symbol, with the language from the publish settings), with symbol linkage classes and the document class, and the report lists them as kept, not run (ADR 0013 tier 1; scripts on instances and linkage on bitmaps and sounds are reported); **Import to Stage (Ctrl+R) for SVG drawings**: editable shapes on a new layer at the playhead, with groups, use and symbols, transforms, viewBox, styles, opacity and gradients; **clip paths and opaque masks** (ADR 0021) become mask layers in a folder named after the file (clips that cut nothing dropped, clips inside clips intersected exactly when all but one are convex polygons, curves kept), and **text** becomes text blocks, one per text chunk (position, anchor, font family list, size, weight, style, letter spacing, fill), with missing fonts named; stroke caps, joins, miter limits and dashes come across (ADR 0046); soft masks, per-character positions and text on a path are reported, as is anything else unsupported. **Sprite sheet export**: movie frames on one PNG grid (parallel render, columns/padding/scale, transparent or stage background) with a "JSON hash" frame map (rectangles, sizes, per-frame durations). **Video export**: WebM (VP9) or MP4 (H.264) by streaming raw frames, in order and rendered in parallel batches, to the user's own ffmpeg (no encoder bundled; ffmpeg from a parameter, `ANICRAFT_FFMPEG` or the PATH; argument lists, never a shell). **Lottie export** (`file.export_lottie`): each frame is evaluated, artwork that persists (same layer and element, or the same look on the same layer across keyframes) becomes one shape layer, and what changes is written as **keyframes with Lottie's Bézier eases** (ADR 0089): holds where values stay, eased keys wherever an ease of the document draws the frames exactly (linear, Classic, Bézier, custom curves, Quad/Cubic/Back/Bounce; a key per cubic piece), checked at every frame, and a hold key per frame only where nothing exact exists (Elastic, Sine…, reported once); moving artwork keeps its outline in its own space under an animated group transform (position, rotation, skew, scale), and shape tweens between outlines of one structure are shape keys; a playback parity test plays the file with a Lottie player written from the spec through the oracle at every frame (sample scenes, a movie of every ease, the XFL corpus); files 57–90 % smaller (demo 46.7 → 10.4 kB); one layer order consistent with every frame (topological); checked against the reference web player (matches the renderer). Reported, not exported: bitmap fills, nested masks (innermost kept), group fades (per shape), stretched radial gradients (circles). **HTML canvas export** (`file.export_html`, ADR 0028): one self-contained web page that plays the movie, buttons and actions included (see Interactivity). **Drops, Open Recent and the start screen** (ADR 0059): files dropped on the window open (documents) or import onto the stage at the drop point on the active layer, or into the Library folder under the pointer, in one undo step (`file.drop`), with a drop highlight; File › Open Recent (10 recent, pinned favourites, missing files greyed with Remove) kept in the preferences; a start screen at launch with New presets (1280 × 720, 1920 × 1080, 1080 × 1080, 1080 × 1920, custom), Open, the sample and recent files with thumbnails captured on save. **Templates, SVG into the Library and drops on the timeline** (ADR 0065): six built-in templates made in code (banners 728 × 90 and 300 × 250, social square 1080 × 1080 at 30 fps, storyboard 16:9 panels, character turnaround, lip-sync mouth chart) with guides on a locked guide layer, on the start screen and File › New from Template; File › Save as Template keeps the document with a picture in the settings folder by category (replacing and deleting confirm); an SVG dropped on or imported to the Library becomes one graphic symbol named after the file, in the folder under the pointer; a sound dropped on a layer's frame goes onto that keyframe, an image or SVG onto that layer in a keyframe made there if needed, one undo step, with a highlight on the cell. Not yet: exact drop positions on the desktop (eframe 0.36 and 0.37 are on winit 0.30, which gives none during a drag; a drop waits for the first pointer move, else lands mid-view), user template descriptions and renaming, several documents at once. **Publish Settings and Publish** (ADR 0060): the formats to publish, with their options and output names, saved in the document; File › Publish (Shift+F12) writes them all in the background with progress, Cancel and one report; presets in Preferences. **Hostile documents stay bounded**: keyframes past frame 100,000 are trimmed on load, and one evaluation or bounds query visits at most a million elements, so symbols that double at every level draw in part instead of hanging (not yet: the same allowance in the player's stepping and the other walks over nested symbols; a note to the artist when artwork was left out). A document holding a non-finite number saves to a file that opens again (the number as 0, a ruined element transform as identity). |
| Library | **Library management, first slice** (ADR 0050): nested **folders** (New Folder, rename, drag items and folders in and out, Move to; deleting a folder that holds items asks), **inline rename** (F2 or double-click the name; names unique per folder, case aside), **Duplicate Symbol** (fresh ids, same folder, “Ball copy”), **Swap Symbol** in Properties (keeps transform, colour effect, filters, looping and name), a **use count** column, **Select Unused Items** and **Delete Unused Items** (unused = not reachable from any scene; linkage classes count as used; asks first), deleting used items asks and removes their instances, fills and keyframe sounds, **sort** by name, type, use count or date added, **search** (opens the folders that lead to a match), multiple selection, a **preview** (a symbol's first frame from the oracle, a bitmap as smoothed or not, a sound's waveform with play) and **item properties** (symbol type and linkage class, bitmap **Allow Smoothing**, which the oracle, the GPU stage, SVG and HTML honour). Folders are a side table in the document (older files open flat); XFL import keeps folders and Allow Smoothing. Headless: `library.items/new_folder/rename/move/duplicate/delete/unused/delete_unused/set_smoothing`, `element.swap_symbol`. **Second slice** (ADR 0053): **drag items onto the stage** (symbols and bitmaps land at the pointer on the active layer at the playhead, sounds go onto its keyframe; several at once; one undo step; inside a symbol open for editing too), **Place on Stage** (button, right-click, or Enter) at the centre of the view, **Swap Bitmap** in Properties (a placed bitmap keeps its corner and takes the new size; a bitmap fill keeps its shape), **Trace Bitmap** and **Convert to Bitmap** in Modify (#463: a placed bitmap becomes filled raw shapes that tile, with Animate's four settings; a selection becomes one Library bitmap in its place; bounded at 4096 × 4096 pixels and 20,000 shapes; not yet: a live preview in the dialog, a progress bar for very large traces, tracing a bitmap fill inside another outline, a resolution choice for Convert to Bitmap), a **Convert to Symbol** dialog with name, type and **folder** that offers the last folder and type again, and **"mixed" on every Properties row** for several elements (Scale, Rotation, Alpha, Symbol, Type, Filters, Blending, Looping, First frame, Fill, Bitmap, Stroke, Width, Style; each row compares only the elements it edits; editing a mixed row sets all, and Type sets every selected instance's symbol). Headless: `library.place {items, x, y}` (and `sound`), `element.swap_bitmap`, `kind` and `folder` on `modify.convert_to_symbol`. **9-slice scaling** (ADR 0055): Enable guides for 9-slice scaling on a symbol (Library or Properties). Scaled instances keep their corners, stretch their edges one way and the centre both ways, and strokes keep their width. Rotation and skew apply after; nested symbols, text and bitmaps scale normally. Guides are dragged as dashed lines while editing the symbol in place, or typed in Properties. The CPU, GPU, SVG and Lottie output all show it, and XFL `scaleGrid*` attributes are imported; guides switched off are kept and come back when switched on (ADR 0057). Not yet: 9-slice in HTML canvas export (scaled as a whole and reported), guides in Library previews, snapping guides. Not yet: shared libraries and importing items from another document, linkage on bitmaps and sounds, bitmap compression, dropping files from the desktop, a picture of the item while dragging, Swap Bitmap on a Library item (every use), mixed text style rows, a Colour Effect row with tint. |
| Data-driven animation | **Data tables that drive animation, first slice** (ADR 0118, #416, #417, #418): numeric **tables kept in the document** as Library items, imported from **CSV, TSV or JSON** (File › Import › Import Data Table; through craft-csv; named columns, gaps, text-only columns left out and reported, a row per frame or a **key column** for a row per keyed time; 256 tables, 100 000 rows, 1 000 000 cells, files up to 32 MB; hostile input refused or cut to the limits), a **table viewer**, **Import Again** that keeps every binding; **bindings** that let a column drive a symbol instance's **X, Y, Scale X, Scale Y, Rotation, Alpha** or **the frame a graphic shows** over a span of frames, with scale, offset, linear or step interpolation and reversed key ranges, edited live in Properties › Data and evaluated purely in `evaluate` (stage, oracle, GPU stage, Test Movie and every export that draws frames agree); **Bake to Keyframes** (every frame looks as it did); `data.*` commands headless, over the CLI and MCP, and for plug-ins (all but reading a file). Not yet: bindings that follow copy, paste and duplicate; baking inside a motion tween and a Lottie export warning for live bindings; editing cells in the viewer, adding and renaming columns; text columns for captions; binding skew, tint, filter values, shapes, text and group members; expressions; audio amplitude into a table. |
| Find & navigation | **Find and Replace, and the Movie Explorer, first slice** (ADR 0058): Edit › Find and Replace (Ctrl+F) finds text (text fields, frame labels, layer and instance names, frame scripts; match case, whole word, regular expressions on a linear-time engine), fonts, colours, symbols, sounds and bitmaps, in this scene with its symbols or the whole document; results as you type; F3 / Shift+F3 go there, opening symbols in place; Replace, and Replace All as one undo step that asks above 100 places. Window › Movie Explorer (Alt+F3), beside the Library: scenes › layers › keyframes › instances (into their symbols), text, sounds, bitmaps and scripts, symbol definitions, Show filters and search, double-click to go there. Headless `find.search`, `find.replace`, `find.goto`, `explorer.tree`. Not yet: action parameters, ActionScript strings apart from code, font size and style, colour tolerance, renaming in the explorer. |
| Tests | 133 tests (adds point editing, closed-path anchors, curve fitting, pen/pencil/subselection commands, the Pen's path data, frame ranges, keyframe moves, range confirmations, frame selection and the frame clipboard): unit, analytic render, band/determinism, robustness fuzz over all commands, round trip (v1 and v2 files), structural sharing and history budget, render-service equivalence, confirmations, clipboard, transforms and align, GIF decode and timing, free-transform maths, UI-guideline enforcement, CLI. |
| Ease of use & safety | **Visual language** (ADR 0008, revised): graphite palette, corners by role (square structure, softened controls, rounder menus and dialogs with soft depth), borders only between layout regions, flat buttons with a visible focus ring, vibrant timeline blocks (mint artwork, violet tweens), sentence-case headings, **collapsible sections with rules** (Preferences, Properties, dock, shortcut sheet), **Lucide icons** stroked as vectors via a new full SVG path reader; click targets ≥ 28 px (tools 40, rows 28, toggles 24); palette contrast, target sizes and "no raw colours or radii" are enforced by tests. Product principles written (`docs/product-principles.md`). Tiered destructive-action confirmations, enforced in the engine (ADR 0004). Unsaved-changes guard on close/new/open. **Crash-recovery autosave** (ADR 0015): unsaved work is copied in the background (every minute or 25 changes by default; Preferences › Files › Autosave, with an off switch) to `Recovery` in the settings folder, atomically and never over the user's file; an OS file lock per running window tells crashed sessions from open ones; the next start offers what was left behind in a non-blocking window (Restore as unsaved work with its original path, Discard with a second click, Later; File › Recover Autosaved Documents… brings it back); saves and clean exits remove the copy; headless `file.recovery_list/recover/discard_recovery/autosave`. Not yet: several open documents, older copies, the undo history. Overwrite checks for saves and exports. "Ctrl+Z to undo" hints. Command palette (Ctrl+K). Shortcut sheet (F1). Right-click menus on stage, frames and layers. Save As (Ctrl+Shift+S). **Shortcut editor** (F1): every menu command, tool and view key can be rebound, given extra keys or unbound; recording asks before taking a key from another action, reserved keys (palette, editor, Preferences, quit, play, Esc, Space, Tab) stay fixed, per-action and global reset; only the changes are saved in preferences, so untouched actions follow new defaults; menus, tooltips and the palette show the keys in effect. **Documents too large to draw** ([ADR 0128](adr/0128-one-work-allowance-and-frames-that-say-what-they-left-out.md)): a frame, a bounds query and a Test Movie step each have an allowance of work that no nesting of symbols gets past; a frame cut short says so in the status bar, in the results of the commands that write frames, in `info` and in the MCP picture's caption. Not yet: the same note from the Lottie and HTML exporters and exporter plug-ins, a notice inside the Test Movie window when its picture is cut short, how much was left out. |
| Platforms & preferences | ADR 0006 platform layer: ⌘ shortcut labels and an AniCraft app menu with a unified title bar on macOS; Exit and Preferences (Ctrl+U) on Windows and Linux; native file dialogs (XDG portal on Linux, with a fallback switch); wgpu with automatic OpenGL fallback; per-OS settings folder. **Web editor, first slice** (ADR 0036, `docs/web.md`): the same program built for `wasm32-unknown-unknown` runs in a browser (WebGL2), built by `scripts/build-web.sh`/`.ps1` with the wasm-bindgen CLI into `web/` (8973 KB, 3278 KB gzipped). Open and import with the browser's file picker; save and export as downloads (the engine reads and writes through `engine::vfs`, memory in the browser). Autosave and preferences in browser storage, with Web Locks so only closed or crashed tabs' work is offered. Leaving with unsaved work asks first. Every crate builds for wasm32 in CI, and the engine's tests run inside WebAssembly in Node. Not yet: a browser-verified run, sound (Web Audio), the GPU stage on WebGPU, video export, plug-in installs, PNG sequence as one zip, IndexedDB for large autosaves, threads, hosting. **Preferences** window: theme (Follow system, Dark (Graphite), Light or High contrast; ADR 0077), interface and data fonts (bundled default or any installed font), interface scale (75–200 %), stage render mode, file dialogs, reset confirmations. Edits render live (fixed the missing-repaint bug). **CI on macOS and Windows** (ADR 0067): every code PR builds, tests and lints the workspace on macOS (arm64) and Windows (x64) runners besides Linux. Not yet: native macOS NSMenu, Linux arm64 and Windows ARM64 test legs on PRs, a GPU runner. Verified by hand on Windows only so far. **Robust start-up** (#207): the window opens through a list of ways (the one chosen in Preferences › Stage › Window graphics or `--renderer gl|wgpu|vulkan|dx12|metal`, then wgpu automatic, DirectX 12 on the low-power GPU on Windows, OpenGL), falling through on an error or a panic; a start that died inside a driver tries that way last for the next five starts, then 25 and 100 if it dies again (#335, ADR 0105); stage work on the window's device is submitted only inside a frame, which removes the `Surface::configure` "Failed to wait for GPU to come idle" error behind 0.2.1 closing at start-up and on resizing (#264, #309; ADR 0105); a start-up log (`Logs/anicraft.log` in the settings folder, the previous run's kept) records each way, the adapter and driver, panics and slow starts; a system message names it when nothing works. Not yet: verified on a hybrid-GPU laptop, the log from the Help menu, restarting by itself when a driver hangs at start-up. |
| Installers & release | **Packaging** (ADR 0026, `docs/release.md`): the Craft family's `packaging/` layout behind the shared release workflow. Windows MSI (x64, arm64; per-user by default, everyone on request, upgrades in place), portable and symbols zips; macOS universal DMG with a laid-out window and CLI zip; Linux AppImage, deb, rpm, tar.gz, Flatpak and Arch (x86_64, aarch64; riscv64 deb/rpm/tar). `.anicraft` opens AniCraft by default; `.fla`/`.xfl` offered under Open with. Signed and notarized on the `release` branch (missing secrets fail it), unsigned elsewhere; ends in a draft release. Packaging lint and a fixture WiX build guard PRs; `src/packaging_tests.rs` keeps ids and types in step. **Opening documents on macOS** (ADR 0062): a double-click in Finder, a drop on the Dock icon or Open With opens the document, at launch or while running (the open-documents Apple Event through `platform.rs`, by `fmv-macos-events`, so no `unsafe` of ours), through the unsaved-changes guard; the Dock's Quit asks to save too; Windows and Linux command-line hand-over covered by a test. **Portable mode and AppImage desktop integration** (ADR 0094): an `anicraft-portable` marker (shipped in the Windows zip and the Linux tar.gz; also honoured beside `AniCraft.app` and an `.AppImage`) keeps preferences, autosave, logs, plug-ins, templates, recent files, brushes, filter presets and workspaces in `data/` beside the app, through one switch in `platform.rs`, falling back visibly when that folder can't be written; Preferences › About shows the mode and every folder; on first start from an AppImage a non-modal card offers once to add AniCraft to the applications menu (`desktop.integrate/remove/status`: desktop entry with a quoted `Exec`, MIME types and icons under `$XDG_DATA_HOME` only, idempotent, removable from About, following a moved or updated AppImage); a store-readiness job checks the Flatpak manifests, AppStream (`appstreamcli validate`), the desktop entry and any winget/MSIX manifests. Not yet: verified on a Mac (the checklist is in ADR 0062), a single running AniCraft taking a second document on Windows and Linux, store submissions and winget/MSIX manifests, self-update inside a portable copy, video export inside the Flatpak. |
| Documentation | **User guide, first slice** (ADR 0069, `docs/guide/`): eighteen chapters for artists (getting started to troubleshooting, and Coming from Animate), a command reference and a shortcut reference (Windows/Linux and macOS) generated from the registry and checked for freshness by tests, every link, anchor and picture checked, eight screenshots from `scripts/guide-shots.sh`. Help › User Guide opens the book bundled in the app, offline, in the browser; the web build serves it beside the editor; `anicraft-cli guide --out <folder>` writes it. Not yet: translated guides, search, a PDF edition, context help from panels, macOS and Linux screenshots. |
| Languages | **First slice** (ADR 0040, `docs/localisation.md`): every shell string goes through `tr!`/`trn!` (keyed by its English; placeholders; CLDR plurals for whole numbers), menus translate the registry's labels when drawn (ids, CLI, MCP and the file format stay English), screen-reader names too. Catalogs are craft-i18n's TSV, read by our own parser and embedded from `CRAFT_I18N_DIR` (fallback app → shared → base language → English). Preferences › Appearance › Language (system language by default) and `--lang`. A **pseudo-locale** (`--lang pseudo`: accented, a third longer, bracketed) tests layout; checked by a source guideline test and a pseudo-locale accessibility audit; `scripts/i18n-extract.sh` writes the translators' template and per-locale coverage. Not yet: a real language (craft-i18n has no `anicraft.tsv` yet), engine messages and confirmation bodies (`@msg`), default document names, right to left (needs bidi and shaping in egui upstream), CJK and Georgian (need a font), shaped scripts. |
| Accessibility | **First pass** (ADR 0022, `docs/accessibility.md`): AccessKit (via eframe) gives every control a name and role, checked by a headless test that walks the tree in 23 interface states (custom-painted tools, layer rows and toggles, icon buttons, Library rows, every Properties field, the Motion Editor, every dialog; the stage is a named canvas; the status bar a polite live region). **Ctrl+F6 / Ctrl+Shift+F6** move focus between Stage, Timeline, Properties, Library and Tools (rebindable); focused controls keep Enter/Space/arrows while other shortcuts still work; pointer-only surfaces are not Tab stops. **High contrast** palette (Preferences › Theme) from the same roles, text ≥ 7:1, controls and focus ≥ 3:1; both palettes checked by the contrast test (the graphite one now meets AA everywhere). **Interface scale** 75–200 % holds up (stage refits, tools and timeline header scroll, status truncates). **Second pass** (ADR 0064): while the stage has focus its elements are a list box under the canvas (name from the instance name and outline or kind, layer, place and size, bounds, selected; 2,000 at most plus a summary); **Tab, arrows, Enter/Space and Shift+Space select on the stage** through `element.select` (new `toggle`); the active layer's keyframe spans are a list (frames, tween, label, sound, actions; activating one moves the playhead); on the focused timeline the arrows move the playhead and layer, announced through the status bar; **the menu bar from the keyboard** on Windows and Linux (Alt tap or F10, arrows, submenus, Esc, Alt+letter with underlined access keys); **Follow system** (the default theme) switches to high contrast with Windows' contrast themes, macOS' Increase Contrast, the portal/GNOME contrast setting and `prefers-contrast` in browsers. **Your own themes** (ADR 0117, #340): JSON files of role colours in the settings folder's `themes`, listed in Preferences › Theme and applied live, exported from the look in use, reloaded without a restart; each is held to WCAG AA by the same contrast table as the built-ins (`theme::shortfalls`) and refused whole, naming the roles, when text, icons or the focus ring fall short; two-tone icons (`icon_accent`) and a gradient on accent bars (`accent_end`) from the palette. **Light theme** (ADR 0077, #227): a third palette designed for light (paper greys, near-black text, hairline controls, timeline blocks re-tuned to 3:1 on the panels with 4.5:1 marks), checked by the same contrast test; Follow system now follows the system's light or dark mode too (Windows, macOS, portal/GNOME, `prefers-color-scheme`). Not yet: names beyond the outline heuristic, per-item menu letters, a light high-contrast palette, a keyboard route to the menu row on macOS (⌘K covers it), manual passes with Narrator, VoiceOver and Orca. |
| Stage rendering & build | **Tiled stage** (ADR 0007): 512 px cached tiles, over the stage and the visible pasteboard (artwork off the stage shows, on transparent tiles that never cross the stage edge; View › Clip Content Outside the Stage and its edit-bar button hide it, view state), batched per frame with one scene evaluation per frame, look-ahead ring and playback prefetch, scaled older tiles instead of blank areas, pixel-aligned (no seams). **Space-biased build**: debug build 6.9 GB → 1.04 GB, fresh build 44 s, edit rebuild 4–6 s (`docs/development.md`). |
| Scale & performance | Pulled forward from M2: persistent document with snapshot undo (memory-budgeted history, save-point dirty tracking, History panel), background render worker with frame cache and playback look-ahead, band-parallel renderer with culling, compact streaming file format v2, `anicraft-cli bench`. Measured numbers are in `docs/performance.md`. Memory, sharing, file-size and culling budgets are a test on every PR; timing budgets are `anicraft-cli bench --check yes` (all met; the 1080p render is 15.3–15.8 ms against 16.7 ms). |
**Requests from artists, second batch (2026-11-20, M8).** Shipped: Export SVG Sequence (#504);
the timeline's current frame and frame rate as fields (#462, #461); a key for every panel and F4
to hide them all (#456); menus that follow the pointer once one is open (#455); scroll bars
always shown (#483); the colour picker's top row (colour and hex that follow the pointer), its
one palette/mixer button and the palette in Animate's order (#434, #435, #437, #432). Not yet,
each a candidate with its design:
* **Live preview on the artwork while pointing at a swatch (#436, P-025).** The picker already knows
the swatch under the pointer. Showing it on the selection or the stage must not touch the
document or undo: a session-level *preview override* (which paint of which elements, or the
stage colour) applied where the display list is built, set by the picker each frame and
dropped when the pointer leaves; a click commits through the usual command.
* **A Frame Picker panel (#452, P-026).** A dockable panel for the selected graphic instance: its
symbol's frames as a list or thumbnails (rendered by the oracle through the thumbnail cache),
a click sets the instance's first frame (`element.set_loop`), with *Create Keyframe* (insert a
keyframe at the playhead first, for lip-sync), the loop mode, a size slider and a pin.
* **Layer-wide colour effect, blend and filters (#464, P-027).** Properties › Frame already has the
label, sound, actions and tween of the frame, and Layer Properties has opacity (ADR 0111).
Missing is an effect on the whole layer across the timeline: `Layer.color`, `Layer.blend` and
`Layer.filters`, applied in `evaluate` as a group around the layer's items (as layer opacity
is), with the same three sections in Properties and in XFL import. Needs an ADR.
* **Squash and stretch for bones (#503, P-042).** A per-bone option: when IK or a pose changes a
bone's length, scale what it carries along the bone and by the inverse across it (area kept),
with a strength per bone; a function of the pose in `evaluate`, in the bones ADRs' model.
* **SVG sequence in Publish Settings** (P-036), and a choice of file name pattern for both sequences.
## Risks
| Risk | Mitigation |
|---|---|
| GPU and CPU renderers drift apart | Golden parity tests in CI; CPU stays the oracle. |
| XFL edge encoding is under-documented | Build a self-authored corpus; unknown elements kept verbatim; fail with readable errors. |
| egui immediate-mode cost with big timelines | Virtualise the frame grid (paint only visible cells); cache layer row summaries per revision. |
| Snapshot undo memory | `Arc` structural sharing ([ADR 0001](adr/0001-undo-persistent-snapshots.md)); history size cap with a preference. |
| Parity pulls in knowledge of the reference app that isn't clean | `parity.md` is written from public documentation in our own words; format work uses public descriptions and files we author (`standards/clean-room.md`); a PR whose provenance is unclear is held, not merged (P-039). |
| The backlog and the open pull requests drift apart | The outside PR table is updated whenever a PR opens, closes or changes state, and a PR without a row is given one before it is reviewed ([ADR 0125](adr/0125-the-roadmap-as-a-guideline.md)). |
| Parity status goes stale | A PR that changes a feature's status changes its row in `parity.md` in the same PR; rows marked † or ? are checked first. |