mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
A frame alone (`render --frame N`, or `--at` that doesn't start at 0) mounts every element in one pass. The page resolved them all at the earliest <Sequence> start, so an animation outside any Sequence began there (sdk/react/bench/css/anim.tsx: A at x 100, not 300, at frame 15 alone, on 0.1.9 too), and on a page with no <Sequence> every animation began on the frame itself (frame 15 alone: x 0, not 300). engine/page motion.rs now resolves at the earliest start, an element outside any Sequence starting at the composition's 0, and moves each later element's animations to its own start (blitz-dom BaseDocument::delay_animations). A render of every frame, and P26's `--at` from frame 0, mount each element on its own frame and are unchanged. P26 couldn't see it: it compares with 0.1.9's baseline. tools/l2.sh now runs the benches in bench/l2-checks.txt, which check what is right (at-0, at-time, at-3d, compute-frames, css), each with the candidate's raea: 5/5 on this build. css/check.sh takes RAEA_BIN as the other benches do.
react
raea-runtime-react and its CLI, raea: the engine that runs raea compositions. React runs on
JavaScriptCore inside Bevy; each frame's tree is read back and lowered to raea-render rows, which Bevy draws.
raea render EDIT.tsx -o OUT.mp4 | OUT.png | DIR [--frame N | --at A,B]
raea play EDIT.tsx play live in a window (games take keyboard and pointer input)
raea run SCRIPT.ts run a script's default export inside the engine
raea test FILE... run bun:test-style files inside the engine
raea types -o FILE.ts write the native calls' TypeScript types
src/: the engine (motion.rsand its modules; page, sound, live and export are runtime/ crates); theraeabinary is engine/cli (crate raea-cli).js/: the JavaScript side of the bridge (bundles are made by raea-bundle's library: Rolldown, in process).ios/: the same engine on the iPhone, as a library a probe app links.bench/: example games (games/), a render-vs-play corpus (corpus/), timeline checks and a playtest prototype.
Build with cargo build --release -p raea-cli from the repository root. Depends on runtime/js/,
engine/render/, io/media/, engine/native/, engine/modules/, and optionally
the sandbox's wsx.
Status: in use; the main way to render with raea.