Commit Graph
27 Commits
Author SHA1 Message Date
Tanish Manku de8688ba20 feat(export): embedded glyph outlines for dynamic text fields in the HTML page, with the fsType licence check (M5) 2026-11-20 15:07:31 -07:00
Tanish Manku 882434838e feat(export): htmlText, change events, maxChars and restrict in the HTML page's player, at parity with Test Movie (M5) 2026-11-20 15:07:31 -07:00
Tanish Manku b228949f45 feat(doc): layer parenting in the model and evaluate: a layer follows the first object on its parent layer (M7) 2026-11-18 02:30:59 -07:00
Tanish Manku c23fa96ccd feat(render): layer opacity in the HTML canvas export, with CPU pixel and GPU parity tests (M1) 2026-11-17 23:32:53 -07:00
Tanish Manku 76942283c2 chore: merge main into fix/outside-batch-core 2026-11-17 16:26:38 -07:00
Tanish Manku c2472cd639 chore: merge main (styled text, mixed armatures) into filter tracks (M5)
Text keeps its filters next to its styled runs. In HTML export, static text in several colours
with filters is one item of pieces (pp), so the pieces share one filtered group as evaluate
draws them; the page's player draws such items piece by piece.
2026-11-17 14:55:39 -07:00
Tanish Manku 2f6e9cc46b feat(export): filters on text in the HTML page and from XFL, with GPU parity (M5)
* The page's player draws text with filters in a filtered group of its own,
  as evaluate does (fx/fm on static text and fields); typed text in an input
  field is the browser's and is reported.
* XFL: a text field's <filters> come in on the text instead of being
  reported as skipped.
* GPU parity on filtered text: max 1/255, mean 0.003-0.005 (RTX 5090, Vulkan).
2026-11-16 19:17:17 -07:00
Tanish Manku b4ee8a83d0 feat(render): text colour pieces in the HTML page and links in SVG export (M5) 2026-11-16 18:26:39 -07:00
Mex 3d595499c2 fix(render): mirror signed-zero min/max ties in HTML (M6)
Keep the HTML player aligned with the Rust evaluator: zero-sign ties select +0 for max and -0 for min in any argument order. Exact helper comparison against native Math.min/max and Object.is passed 1,644 cases; the previous helper mismatched 28. Added integration trace coverage follows in the same PR.
2026-11-16 21:21:06 +01:00
Mex f0ecb72dbe fix(actions): preserve negative zero in Math.round (M6)
Preserve the sign of negative fractions rounded to zero in the exported HTML player.
2026-11-15 20:25:24 +01:00
Tanish Manku 00b2cba610 feat(render): gradient spread, focal point, ellipses and linear RGB (M1)
Paint::Linear and Paint::Radial gain optional spread (extend/reflect/repeat)
and linear_rgb; radial gradients gain a focal point and a matrix (any
ellipse). All default and are skipped when unset, so older files and plain
gradients are stored as before. The CPU oracle, the GPU stage (and its
emulator), SVG and HTML export, and SVG and XFL import handle them exactly;
Lottie reports what it can't show. Fill frames (Paint::frame/with_frame/
fitted) are the basis of the Gradient Transform tool.
2026-11-12 14:21:34 -07:00
Tanish Manku 329d97e39e chore: merge main (soft masks and text on a path, shape armatures) into HTML filters (M6)
canvas.js combines both: soft-mask artwork draws on the mask's layer, which
has the place and size of the layer it masks (so inside a filtered group it
reaches past the canvas too); the filtering trail records mask modes. New
parity test: filters under and inside alpha and luminance masks against the
oracle's frame (largest difference 4e-7).
2026-11-12 12:58:14 -07:00
Tanish Manku df1cf52cd9 feat(render): filters, Subtract and Invert in HTML canvas export (M6)
The page runs every filter as the CPU renderer does: filters.js ports
filters.rs (box-blur passes, shadow, glow, bevel, gradient ramps, colour
matrices, knockout, inner, hide object) over a layer that reaches past the
canvas by the filters' reach, cut to the artwork plus that reach. Subtract
and Invert are composited per pixel with the renderer's formula. Filtered
groups are kept by what was drawn in them, so an unchanged group is
filtered once.

Parity in Boa against the oracle's own layers: 35 filter cases (every kind,
side, knockout and switch, and stacks) at view scales 1, 1.5 and 2, largest
difference 9.3e-4; box widths and offsets equal over 4160 resolutions.

node 24, 1080p: the demo's two filtered groups 3.4 ms a frame when both
change (0 when cached); a full-frame 1920x1080 glow 51 ms, drop shadow and
bevel 92 ms, blur 20 quality 3 146 ms; Subtract over 1080p 6 ms.
2026-11-12 00:56:34 -07:00
Tanish Manku 02842502f7 feat(render): soft masks in the HTML canvas export (M4) 2026-11-12 00:53:52 -07:00
Tanish Manku a578dc510e feat(html): text fields in the HTML canvas export, with native inputs and player parity (M5) 2026-11-11 19:40:51 -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 e60f65e800 feat(html): the page plays sounds on button frames with Web Audio, as Test Movie does (M5) 2026-11-11 14:04:59 -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 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 e00b02f7d9 fix(html): seed the page's random numbers from the clock; tidy player.js for the analysers (M6) 2026-11-11 04:33:51 -07:00
Tanish Manku e64a720a8e feat(actions): ActionScript small logic: typed variables, expressions, loops, property reads, enter-frame and key listeners (M6)
The ActionScript subset compiles to a small typed script IR (statements and
expressions) that the player evaluates with a fuel budget, instead of a flat
action list. Timeline variables live per instance; functions and variables
link across the frames of one timeline; Math.random() is seeded. The HTML
canvas player mirrors the evaluator and the parity tests run both.
2026-11-11 04:33:46 -07:00
Tanish Manku 18b07fffe0 feat(render): bitmaps without Allow Smoothing keep hard pixel edges in the oracle, the GPU stage, SVG and HTML (M2) 2026-11-10 23:43:59 -07:00
Tanish Manku fc4d20c24c feat(export): SVG, Lottie and HTML canvas write stroke caps, joins, miter limit and dashes (M7) 2026-11-10 18:48:05 -07:00
Tanish Manku 13620efb8f feat(player): run ActionScript in the subset in Test Movie and the HTML export, with mouse listeners (M6) 2026-11-10 16:34:25 -07:00
FredApps 65233523b4 Report a failed HTML movie start instead of leaving the promise unhandled 2026-11-10 11:15:41 +01: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 0fc73dc9ce feat(render): HTML canvas export with a JS port of the player, tested against it in Boa (M6) 2026-11-09 13:22:19 -07:00