Commit Graph
62 Commits
Author SHA1 Message Date
Tanish Manku a678259a5f feat(engine): brush presets, user brushes, pressure curves and the Paint Brush's stroke mode (M7) 2026-11-11 20:22:42 -07:00
Tanish Manku 8a1a5096b8 chore: merge main (templates and drops) into text fields (M5) 2026-11-11 20:00:20 -07:00
Tanish Manku ee19adfa96 feat(text): Text type in Properties and typing into fields in Test Movie (M5) 2026-11-11 19:40:41 -07:00
Tanish Manku bc574026c9 feat(engine): built-in and user templates, SVG into the Library as a graphic symbol, drops on a layer's frame (M8) 2026-11-11 19:12:17 -07:00
Tanish Manku 40ee010489 chore: merge main (APNG/WebP, Check for Updates) into timeline polish (M1) 2026-11-11 18:25:31 -07:00
Tanish Manku a20a488fb6 feat(export): animated PNG and animated WebP export (M4) 2026-11-11 18:03:14 -07:00
Tanish Manku 0bc3569c0c feat(timeline): onion column, colour chip, layer height, Layer Properties, frame view (M1) 2026-11-11 16:43:21 -07:00
Tanish Manku cbc07f8fa6 feat(engine): per-layer onion, layer colour and height, Layer Properties, outlines on the stage only, parent onion in symbols (M1) 2026-11-11 16:43:11 -07:00
Tanish Manku 9524055af1 chore: merge main (buttons, Find, files and the start screen) into Publish Settings (M8) 2026-11-11 16:40:24 -07:00
Tanish Manku 7ecc0603e2 chore: merge main (buttons, Find and Replace, Movie Explorer) into files and the start screen (M8) 2026-11-11 16:25:00 -07:00
Tanish Manku 8a314052f1 feat(engine): publish.settings_get/set and file.publish, cancellable with one report (M8) 2026-11-11 15:23:55 -07:00
Tanish Manku b18b3b856f chore: merge main (Find and Replace, Movie Explorer) into button sounds (M5) 2026-11-11 14:57:46 -07:00
Tanish Manku 3c704c5db6 chore: merge main (colour effects) into Find and Replace and the Movie Explorer (M8) 2026-11-11 14:37:00 -07:00
Tanish Manku 93308ee20c feat(engine): dropped files, recent files and their commands (M8) 2026-11-11 14:34:26 -07:00
Tanish Manku b6cfa585c6 chore: merge main (colour effects, ADR 0056) into button sounds; hit-area tint on ColorTransform (M5) 2026-11-11 14:31:13 -07:00
Tanish Manku 075eb47f23 feat(engine): find.search, find.replace, find.goto and explorer.tree (M8)
Find and Replace over text (text fields, labels, layer and instance names,
frame scripts), fonts, colours, symbols, sounds and bitmaps, scoped to the
scene (with the symbols it uses) or the document; a bounded linear-time
regex engine; Replace and Replace All as one undo step, asking above 100
places; going to a hit opens symbols in place through the instances that
lead to them. The Movie Explorer tree is made only for open rows, paged,
with show filters and a text filter.

24,000 elements: text search 8.8 ms, colour 3.5 ms, Replace All of
12,500 colours 25.5 ms; explorer fully open 144,112 rows in 45 ms.
2026-11-11 14:09:05 -07:00
Tanish Manku 7877a09c04 feat(engine): an open button shows its hit area; Test Movie lists the sounds it starts (M5) 2026-11-11 14:03:34 -07:00
Tanish Manku cadfe62913 chore: merge main (9-slice, ActionScript logic, v0.2.0) into colour effects (M2) 2026-11-11 13:55:28 -07:00
Tanish Manku 6c30eb519c test(engine): colour effect commands, tweens, renders, SVG and Lottie; a screenshot state (M2) 2026-11-11 04:56:50 -07:00
Tanish Manku f78ae40e89 feat(doc): colour effect styles as one exact colour transform, rendered, exported and edited everywhere (M2) 2026-11-11 04:50:41 -07:00
Tanish Manku 3fba4f742f feat(engine): symbol.set_scale_grid turns 9-slice guides on, off and moves them (M2) 2026-11-11 04:34:52 -07:00
Tanish Manku 1cbfe1bb03 chore: merge main (Library management) into multi-frame editing (M1) 2026-11-11 00:24:09 -07:00
Tanish Manku f30192d0a6 feat(engine): delete, copy, paste, transform, align and re-merge on multiple frames; onion skin inside symbols (M1) 2026-11-10 23:55:24 -07:00
Tanish Manku e6c0f5a91a feat(engine): library.* folder, rename, move, duplicate, delete and unused commands, element.swap_symbol, smoothing (M2) 2026-11-10 23:43:59 -07:00
Tanish Manku c2fd4a8d67 Merge origin/main (motion path pins) into m1/raw-points (M1) 2026-11-10 20:29:18 -07:00
Tanish Manku 6435915774 Merge origin/main (stroke styles, onion skin) into m1/raw-points (M1)
Hit testing keeps main's pick_index, picking in the symbol open in place. Onion skin and
Edit Multiple Frames switch off while a symbol is open in place; the multi-frame listing
evaluates the open timeline. A double-click on a Library symbol opens it for editing, as in
Animate. Raw point edits keep a stroke's StrokeStyle (tested).
2026-11-10 20:16:16 -07:00
Tanish Manku 891464f505 feat(engine): motion.pin_point/unpin_point, auto-key pins the path where the object is put (M2) 2026-11-10 19:49:55 -07:00
Tanish Manku 0aa25bf1fa chore: merge main (onion skin) into stroke styles (M7) 2026-11-10 19:22:53 -07:00
Tanish Manku 43f7bff81e feat(engine): edit a symbol's timeline in place: every command, merge drawing and the raw tools work inside it (M1) 2026-11-10 19:00:39 -07:00
Tanish Manku c62d327ce1 feat(timeline): onion skin markers, tint, fade, outlines, keyframes only, and Edit Multiple Frames (M1) 2026-11-10 18:54:35 -07:00
Tanish Manku 96229c97ba feat(stage): raw points in the editor: Delete, Make Smooth/Corner, adding with the Pen and Subselection, Alt breaks handle pairs, shape tools snap, Ctrl+Shift+/ (M1) 2026-11-10 18:50:08 -07:00
Tanish Manku 87eb730a10 feat(engine): stroke.set_style, style params on drawing, set_stroke and Ink Bottle; the Eyedropper picks the line style (M7) 2026-11-10 18:46:43 -07:00
Tanish Manku 2571a71cda feat(engine): add and delete raw anchors, smooth handle pairs, Make Smooth/Corner on raw points, snapping while drawing (M1) 2026-11-10 18:45:48 -07:00
Tanish Manku cdbe0b060c test(engine): every selection command with a selection on two layers, marquee cuts per layer, fuzz (M1) 2026-11-10 16:03:14 -07:00
Tanish Manku 2c6ff5e7ea feat(engine): a selection of (layer, element) pairs across layers (M1)
The session's selection becomes a set of (layer, element) references at the
playhead (ADR 0044, issue #42). Commands that edit the selection run their
single-layer body once per layer that has selected items (move, delete,
duplicate, arrange, transforms, colour effects, filters, break apart, raw
merges); align/distribute, the Free Transform box, copy and snapping read
across the layers; paste keeps each copied layer; Convert to Symbol keeps the
layers inside the symbol and lands the instance on the topmost. The marquee
and Select All gather from every visible, unlocked layer, cutting raw parts
per layer. Locked or hidden layers are never selected. A selection on the
active layer alone behaves exactly as before.
2026-11-10 15:58:48 -07:00
Tanish Manku 70f1305bb6 feat(doc): armature layers, joint-angle poses and CCD inverse kinematics (M7)
An armature layer holds symbol instances joined by bones (a joint on the
parent instance, the child turning about it). Keyframes store poses as
joint angles, tweened with the span's easing and applied by forward
kinematics in evaluate_layer_elements, so every export, the GPU stage and
the player see them. bone.add/remove/set_limits/pin/pose/solve/info
commands; IK by cyclic coordinate descent with joint limits and pins.
2026-11-10 15:10:36 -07:00
Tanish MankuandClaude ae16caf5d9 feat(engine): Subselection on raw shapes, Snap to Objects, merging bucket fills, pastes, XFL raw shapes and gradients (M1)
* raw.subselect / raw.subselect_rect / raw.points / raw.move_handle: the
  connected raw shapes' anchors (once per position) and curve handles; a
  handle drag changes the edge in every raw shape that has it.
* raw.move_point takes 'with': other selected anchors move along.
* draw.snap_to_objects (View > Snapping), on by default, gates every
  'snap' param.
* paint.bucket: raw fills merge (behind), filled exactly up to raw lines
  and fill edges (a local probe merge); recolouring a raw fill re-merges.
* Pasted raw shapes merge where they land (Paste in Place too).
* XFL: loose DOMShapes (not isDrawingObject, not in groups) import raw;
  file.open merges each keyframe's raw shapes (tweened keyframes kept).
* Gradient and bitmap fills take part in the merge; width profiles stay
  objects.

Measured (748 raw shapes, debug-opt build): click 0.9 ms, anchor list
0.1 ms, handle frame 0.1 ms, merge on release 0.2 ms, exact bucket fill
0.3 ms (20 ms before the probe was made local).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-10 14:22:21 -07:00
Tanish Manku 2d1f19af29 feat(engine): bend segments, move shared points, snapping and the parts marquee (M1)
path.bend_segment bends the segment under the pointer through the dragged
point and every raw copy of that edge with it; raw.move_point moves a corner
or end with every raw shape that shares it (splitting an edge another shape
ends on), snapped within a distance to points, lines and fill edges;
element.translate takes snap/from; raw.select_rect cuts raw shapes at the
marquee and selects the parts inside plus objects wholly inside, with the cut
provisional (no undo step, taken back when the selection lets go of it);
raw.merge and raw.hit. Plug-ins may call the raw namespace.
2026-11-10 13:34:14 -07:00
Tanish Manku d7c0434a25 chore: merge main (ActionScript tier 1) into sound effects; tests build with Symbol.linkage (M5) 2026-11-10 00:35:46 -07:00
Tanish Manku 4fb0b993fc feat(script): keep frame scripts, linkage and document classes from XFL (M6)
ADR 0013 tier 1: a keyframe can keep a script verbatim (FrameScript::Source,
text and language) beside actions and plug-in frame scripts; symbols keep a
linkage class and the document a document class, as text. The XFL importer
reads <Actionscript> frame scripts in scenes and symbols, linkage attributes
and the publish profile's language and document class, and reports them as
kept, not run. script.set/clear/list/set_class commands; nothing runs them.
New corpus package 'scripts' with golden renders.
2026-11-10 00:10:27 -07:00
Tanish Manku de38e47aa3 feat(audio): sound effect envelopes, layer volume and mute, sounds inside symbols (M5)
Frame sounds get Animate's Effect presets and Custom envelopes (up to 16
points per channel, seconds from the sound's start), shaped over the time
the sound is heard. Layers get a volume and Mute, multiplied down through
symbols. Graphic symbols play their sounds on their own frames mapped to
the parent's time (streams join mid-way), movie clips on a loop from when
the instance appeared; the interactive player reports entered sounds so
Test Movie plays them, following the audio clock. The mixer applies
per-channel envelopes and start offsets sample-exactly. HTML canvas
export carries envelopes, volumes and graphic sounds. Edit Envelope
window, timeline mute toggle, waveform shaped by the envelope.
2026-11-10 00:02:17 -07:00
Tanish Manku a87728ba50 chore: merge main (eraser, eyedropper, XFL corpus) into the web build (M8) 2026-11-09 23:15:49 -07:00
Tanish Manku 86f76dbc82 feat(engine): draw.erase with Animate's erase modes, the faucet and Erase Everything; paint.pick and paint.apply_style (M7)
The eraser sweeps the brush tip (ADR 0033) and goes into the planar merge as a fill whose regions come out empty, placed by the mode: on top (Erase Normal), between fills and lines (Erase Fills), over the lines only (Erase Lines), right above the selected fills or the fill the stroke starts on. Only raw shapes are erased; a stroke that erases nothing leaves no step (exact area and length compare). The Eyedropper picks a fill's paint (solid, gradient or bitmap, in stage space) or a line's colour, width and profile into the tool style; the Paint Bucket and the shape tools use a picked gradient where it is on the stage.
2026-11-09 22:13:26 -07:00
Tanish Manku 06c004b294 feat(engine): engine crates build and run on wasm32: vfs file layer, web clocks, single-threaded fallbacks (M8)
Commands read and write files through engine::vfs: std::fs on the desktop, an in-memory
store in the browser that the web shell fills from the file picker and empties into
downloads (ADR 0036). file.open opens .fla bytes through it and gains unsaved?: true for
restored copies. Instant/SystemTime come from web-time; rayon's deferred drops run inline
on wasm; the GPU crate plans layers in turn where wgpu handles aren't Sync; video export
says why it can't run in a browser; system font discovery is native-only.
2026-11-09 22:12:56 -07:00
Tanish Manku 4a5522c4c1 feat(engine): draw.brush paints filled strokes with Paint Normal, Fills and Behind (M7) 2026-11-09 21:12:12 -07:00
BFlat e8bbc45dab Merge drawing, first slice: raw shapes cut and join as in Animate (#92)
Part of #42. ADR 0031: raw shapes cut and join on the layer (exact Bezier planar merge), Object Drawing (J), dot-pattern selection, double-click connected, drop on move, screen-pixel nudge.
2026-11-10 10:08:36 +07:00
Tanish Manku aa6b0a5565 feat(engine): motion.set_path, motion.clear_path, motion.orient; moving the object reshapes its path (M2)
Auto-key on a path tween: moving the object at the first position key
moves the path's start, at the last its end, in between the path bends
until the object lands where it was put; X/Y keys keep the timing.
motion.info reports the path, orient and where the object is. The
every-command fuzz also runs on an oriented motion path.
2026-11-09 17:06:25 -07:00
Tanish Manku cc4773a3ea feat(doc): camera layer, layer depth and camera commands (M7)
A camera layer kind (at most one per scene, always on top) whose keyframes hold
the camera as an element, so it tweens with classic and motion tweens. The
movie (evaluate, the player, every export) is the stage seen through it; the
editing view stays in stage space. Layer depth gives parallax. Commands:
camera.add/remove/set/info and layer.set_depth (ADR 0027).
2026-11-09 12:40:55 -07:00
Tanish Manku f18e4c9d4b feat(engine): frame actions, frame scripts on the plug-in host and Test Movie (M6)
Commands: actions.set/clear/list, instance.set_name, control.test_movie
(Ctrl+Enter; headless it plays the movie and reports its output), and
file.new_sample {which: interactive}. Frame-script plug-ins (kind
frame-script, entry points) run on enter-frame with Limits::frame_script:
20 M instructions shared per frame, 100 ms, ops player/action/actions/log,
no commands; plugin.run refuses them.

App: Test Movie window (player at the document frame rate, pointer to
buttons, Output panel, restart/pause/step, snapshot of the document),
Actions panel (F9) with structured action lists for keyframes, movie clip
timelines and button/movie clip events, instance name and events in
Properties, an 'a' mark on keyframes with actions.
2026-11-09 05:18:45 -07:00
Tanish Manku 416ce65af8 feat(engine): tween.add_hint, move_hint, remove_hint, clear_hints and hints commands (M2) 2026-11-09 04:42:22 -07:00