Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
Code Commits Issues Pull requests Wiki Builds Discussions Projects Insights Search Commits on main MC4: a chain's board for any project (sdk/guides/craft/match-cuts/board.tsx): Board({ chain, places, title, intro }) draws the eye's way through the whole piece with how often it rests at each place, the eleven plan checks' results, each shot's frame with its in hook, its out hook and the eye's way between them (its join, what it lands on, its bridge, montage, hooks in words, carry), and the library of places with their hooks, props and picks; the person's picks (added to and dropped from the chain) and notes come back with app.result. The frame takes the chain's aspect (16:9 when unset). A project's board.tsx is three lines (bench/direction/match-cuts/board.tsx, places.ts) and goes to the person with raea show board.tsx. match-cuts.sh now mounts it headless (raea app check --target web, @raea/app replaced by a stand-in with its two calls), and a board that throws fails it shinyobjectz committed 18 days ago
76f3833 Copy SHA MC1: raea guide match-cuts, how a planner writes a piece's cuts as a chain of hooks on the thirds while it writes the storyboard (sdk/guides/craft/motion/match-cuts.md). It covers the kit a project copies (craft/match-cuts: chain.ts, plan.ts, thirds.ts, board.tsx) and NAME.chain.ts beside the storyboard; the frame's places; choosing hooks by shape, motion direction, colour, light or sound, and naming the part the render check measures; the action that carries the eye from each shot's in to its out, and where the eye travels over the whole piece; the six joins (graphic, motion, eye on a beat, a FULL wipe, a sound bridge, hard) in a table with what the plan checks and the render check hold for each; a montage's hand-off, J and L bridges and a loop; when a hard cut beats a match; what a chain does in story, pitch (the proof lands where the problem was) and explain (the cursor is the hook); seven planning steps with an example chain, its check file and its rule; what the render check can't see; and the common mistakes. The router's plan step, the story, pitch and explain modes and motion.md's index route to it. tools/skills.sh copies craft/match-cuts into the skill beside craft/checks shinyobjectz committed 18 days ago
c49cc6b Copy SHA MC3: the match cuts checked in the render: at each cut of a chain, the hooked part sits at its thirds place on the frame before the cut and on the frame after it (sdk/guides/craft/match-cuts/thirds.ts). landsOnThirds(chain) is a raea/check system on the chain's cut frames only, reading raea world's facts with no render: a part (named() as raea/check matches names) by its world box projected through the frame's camera, its corners clipped at the near plane; a text by its laid-out box, named by its words; where several share a name, the one nearest its place. A point holds within a tolerance of the frame (0.06 when the rule's values don't say), a line on its axis, FULL to a share of the frame (0.9). Each cut of the chain must be a cut of the composition, a Sequence starting on the chain's frame with the shot's name; a J bridge's sound is placed its seconds before the cut and playing on the frame before; an L bridge's still playing on the cut's frame and its last; the plan checks run once after the frames, so one rule holds both. A project makes it from its chain in a three-line file of its own and names that in a rule or an ask. bench/direction/match-cuts/graybox.tsx builds the chain as a project would (each shot a Sequence from sequences(), each hook placed with onFrame and carried over its shot), and match-cuts.sh checks it: nothing found on it, and each of nine cheats found: a hook off its place, one gone from its place by the cut, the part renamed, a cut ten frames late, a FULL covering half the frame, a part behind the camera, a hook naming no part, the J sound starting at the cut, the L sound stopping at it. The whole bench runs in 7 s. What it can't see: a part hidden behind another, a camera rolled about its view, the eye's way inside a shot, and a 2D graphic that isn't text shinyobjectz committed 18 days ago
b4aaa82 Copy SHA MC2: a piece's cuts planned as a chain of hooks on the frame's thirds, and checked by name before anything renders (docs/match-cuts.feature). sdk/guides/craft/match-cuts/chain.ts holds the thirds (nine points, four lines, FULL), the glyphs and which read as the same thing, hooks (what the eye is on, where, and optionally the part that draws it, the way it moves, its colour and light), shots with the join they are cut into by (graphic, motion, eye, full, sound, hard) and chain(), which places each shot on the piece's frames; toFrame and onFrame put a point in the world on the frame and back (Y up, vertical field of view, as Bevy draws it: a ball placed by them lands within 0.0004 of the frame of where the render draws it). Its eleven plan checks: hooks, length (to a frame), lands (every match cut lands the eye where the last shot left it; a point on a thirds line lands on that line; FULL only on FULL), glyph (graphic cuts and montages), motion (the direction kept), carry (a shot that moves the eye says what moves it), hard (says what it lands on), beats (cut to music, every picture cut on a beat; an eye-trace cut always), bridge (J and L sounds that fit their shots), montage (three or more shots handing one hook on) and loop. It imports nothing, so bun and raea check's bundle both run it; plan.ts runs the checks on a NAME.chain.ts by name (--only lands,glyph). A chain is NAME.chain.ts, since cuts.ts is a project's footage edit. bench/direction/match-cuts: a twelve-second chain using every join passes all eleven, and each of fourteen cheats made from it by one change fails the check it names and no other. On the chain of the film this was taken from, lands, glyph and length pass as its own checks do, and beats finds its montage's cuts drifting 44-51 ms off the song's beats shinyobjectz committed 18 days ago
85c13e6 Copy SHA sdk/raea/tools/anny/character.py writes a body on MakeHuman's game_engine rig, so it renders (#68). It still wrote Anny's cmu_mb rig, CMU's 31 joint names with 30 finger joints after them in skeleton.json and a skin of 68 of Anny's own bones in body.glb, which raea's character SDK stopped reading when it moved to game_engine (docs/skeleton.feature): the engine refused body.glb, its skeleton's joints (RightHandPinky3, ...) being no nodes there. Now it builds Anny on her game_engine rig (MPFB2's, shipped with her) in her own A-pose and writes what projects/psx/export.py writes for a psx person: the 52 joints in bones.ts's order with parents, heads and tails (a finger's thickness too), Root's weights on the pelvis, each vertex's four heaviest, body.glb's bones nodes of those names, landmarks (eyes from her default rig, which has eye bones) and the surface samples; no skin, bind or follow. The graph paper, the hull, joint.glb and the presets are as they were. The issue's steps on the adult preset: 1.626 m, 52 joints, 1,588 surface samples; the render of held(adult, { upperarm_r: [-0.45, 0.25, 0.9] }) at frame 30 draws the arm raised with the skin bending cleanly, and the rest pose stands in the A-pose. The characters guide's held example and its Why name the game_engine joints, and character.tsx's header the rig shinyobjectz committed 18 days ago
766eab8 Copy SHA raea check --quick looks at a quarter in, the middle and the end of the composition's real length, and says which frames (#86). It read the length from the source's first durationInFrames={N} and took 90 for anything else, so a durationInFrames={DUR} of 300 frames was sampled at 22, 45 and 89, and text only in its second half went unseen (all 0 texts, exit 0) by the after-save hook too. Now render.json carries the composition's length (length, written by every render whatever frames it drew), the quick check renders frame 0 first to read it, then the three stills, and its report says ok looked at frames 75, 150 and 299 of 300. The reporter's one-text file with DUR: main, all 0 texts; now all 1 texts and its safe-area error, as with a literal 300. The extra render of frame 0 costs about half a second (the literal file 0.85 s to 1.40 s). frames_come_from_the_render replaces the source-reading test; the manual's check and render references say both shinyobjectz committed 18 days ago
6f7a3f4 Copy SHA What ships is stripped, its symbols kept beside it (#88). Release builds were never stripped: .cargo/config.toml keeps rustc's strip off (it re-signs without the JIT entitlement) and tools/link-jit.sh signed without stripping, so 0.1.1-rc2's macOS raea was 707 MB and its Linux raea 2.67 GB, nearly all symbols and debug info. Now link-jit.sh runs dsymutil on a dist-profile executable (into target/dist/symbols), then strip -x, then signs it with the entitlement; RAEA_KEEP_SYMBOLS=1 keeps them. The release profile the agents build isn't stripped (dsymutil takes 5 minutes a link there, and a stripped binary's panics name no functions). On Linux, release.sh splits each binary's debug info into dist/NAME-symbols/FILE.debug (named by a gnu-debuglink) and strips the copy it packs; on the Mac it copies the dSYMs there and warns of an unstripped binary. release.yml keeps those as a 90-day workflow artifact, never published. Measured on rc2's binaries: macOS raea 707 to 394 MB, raea-page-host 370 to 217; Linux raea 2,665 to 491 MB, raea-page-host 1,541 to 259; the archives 318 to 264 MB (macOS) and 1,008 to 300 MB (Linux). The stripped, re-signed Mac raea keeps com.apple.security.cs.allow-jit (codesign -d --entitlements -) and renders; a test link of a dist executable gets a dSYM whose UUID matches it shinyobjectz committed 18 days ago
2c2e3ad Copy SHA An <Instances> keeps one copy of its placements across a render's frames, not one a frame (#84). The SDK sent them inside data-props, so a set whose other props changed each frame (a spin) was parsed whole into each frame's props and every frame's scene was kept (the fed render's frames, the clipping check): 20,000 spheres turning cost 2.1 GB at 120 frames and the issue's 60,000 at 4K 7 GB at 60 and 14 GB at 240. Now the SDK sends them as data-at; raea-runtime-react keeps each part's text as one Arc<str> (AT3D) while it's the same, and Node3 and Item carry it as at; the look compares frames' texts before parsing one (instances_column), and the fast live path compares the Arc (panel_srcs, now shared text). <Entities>' expansion moves to raea-core-scene (entities_nodes) to keep raea-runtime-react under 2000 lines. Measured: the 20,000 spinning, 621 MB and 18.6 ms a frame at 120 frames (was 2,117 MB, 69.7 ms), 645 MB at 480; 60,000 at 4K60, 1.04 GB at 60 frames and 1.22 GB at 240. About 1 MB a frame still grows. A binary from before this, run on this SDK, draws an <Instances> as its one mesh shinyobjectz committed 18 days ago
d7f2aaf Copy SHA <Instances> whose placements change over the shot move in a video, as they do in a still (#85). A render drew the first frame's list on every frame of a video or an --at list (the row's inst column held one list and said so only in a warning), while a still of a later frame showed it moved. Now the row keeps every distinct list it shows (inst_all, '|' between lists, each frame's list compared with the frame before's) and keys which one each frame shows (inst_k), as a panel's pictures are; a live frame sends its inst, and the fast live path drops to the full one when an Instances' list isn't the one it sent. raea-runtime-scene3d's sync_instances moves the copies (a mesh's, or each of a model's meshes at its place in the model) when the frame's list is another; a list with another count than the copies is the frame's error, and the rows hold the list before it with a warning. The SDK's at, the guide's meshes.md and the manual's rows say a list that changes moves the copies and costs a list a frame. The issue's 20 sliding spheres at 640x360: x-centroid 141.2 at frame 0 and 326.7 at frame 59 in the video (the fed live path, RAEA_LIVE3D_FAST=0 and RAEA_3D=program alike), 327.0 in a --frame 59 still; was 141.1 at 59. The same with a glTF (knot.glb): 142.9 and 326.8, still 327.1. raea-runtime-look tests: lists keyed frame by frame, still ones one column shinyobjectz committed 18 days ago
8796ceb Copy SHA An <Audio> or <Video> fadeOut fades inside its clip, silent by its end, not after it (#89 bug 5). The fade began when the element left the timeline, so a clip played at full volume to its last frame and faded past the cut. A Sequence or Loop pass gives its end through MediaEndContext, the nearest of nested ends, and with endAt's: each frame's volume is turned down into it ((end - f) / (fadeOut * fps), the mixer ramping each frame's gain over the frame after it), and data-fade-out is 0 there, so the stop at the end is the mixer's 5 ms edge. Its last frame isn't 0: a silent sound isn't played, which dropped it a frame early and faded the frame before's gain over the whole fadeOut. Without an end, the fade after it's gone is as before. A 440 Hz tone in a 1 s Sequence, fadeOut 0.5 at 60 fps: -5.6 dB at 0.75 s, -12.9 dB at 0.9 s, silent from 1.01 s (was no fade in the clip and a tail to 1.6 s). sdk/raea conformance media.test.tsx: a Sequence's end, endAt's, a Loop pass's, nested ends, and none shinyobjectz committed 18 days ago
d0d71e6 Copy SHA RR2: the camera changes per frame. <Camera3d is_active> (Bevy's Camera field) says which camera draws: each frame's first active camera in the tree is the piece's, the others are dropped from that frame with their depth of field and ambient, and the camera row's shot column steps where another camera takes over (raea-runtime-look active.rs). A frame where it steps is a cut (raea-sys-frame Shots), drawn as a shot rendered alone draws its first frame: motion blur's step before it draws the frame itself rather than the other camera's, with a plugin too, and Solari's and the path tracer's history reset. Play sends the shot on its live camera row (0 again when the first camera is back), and a live engine takes a changed shot as a cut (Moved). The step to f - 1 that motion blur needs never ran on any engine, because the Engine's reads count as a Bevy plugin; renders were right anyway (export draws f - 1 before f), and play blurred cuts from the other camera's frame. bench/rerender/rr2.sh on cams.tsx (cameras A, B, A with parts moving): without motion blur the piece equals its three shot compositions 120/120; with it the frames before the first cut and both cut frames are identical and the rest differ by the blur's grain alone (seeded by the frame number, SSIM >= 0.999439; one camera moved instead: 0.810 and 0.785 at the cuts); each shot of the piece rendered alone with --at is identical 120/120; play's 7 held seeks onto and across the cuts equal the render. The craft guide's rule 6 and limits.md say how to cut between cameras shinyobjectz committed 18 days ago
7d66dfc Copy SHA DR6: done. Each ask of a note is held by a check that must fail on the work as it stands before the work changes, or by a clip the person signs. An ask names its check (raea's by name or a .ts check by its path), its values, its composition (Ask.of; Rule.of runs a rule only there) and, where it can't be measured, proof { shot | frames, sign }. raea notes check runs the asks through raea check's run (apps/direction, lent by the CLI): a first run that passes is refused (exit 1), a failure is kept with its check and values in .raea/notes-checks.json, a check changed after it failed is to check again, and each finding's by is its ask, so two asks on one check are counted apart; raea check runs the notes' checks beside the rules. Each clip is cut with ffmpeg from the composition's newest render, never from one the composition changed after; the person's sign comes back from the app with the render's sha256 and is kept by raea notes take. An ask reads to check, failing, to sign, passing or signed (the agent's move until there is a clip of the work as it stands), the note its worst; raea notes ls says each and raea notes post sends the badge, each ask's state and each clip (raea show --status --states, --sign --clip --render). raea/check gains a per-rule memo, after, named, turned and inside; six worked checks ship in sdk/guides/craft/checks and in the skill as craft/checks (rides, flat-type, faces, stands-on, shot-length, no-part), with their pieces and cheats in bench/direction/asks (asks.sh: 35 cases as expected). A plain element that covers another is named by the component that drew it (runtime/world). Proved end to end in a copy of the raea app (1109.87): a note sent, taken, restated, failing, the work changed and passing, the clip signed in the page, --done refused, and the sign reopened by a changed composition. Tests: raea-core-facts 16, raea-app-notes 10, raea-app-direction 16, raea-runtime-world 15, engine/cli show.test.ts 5. The craft router says the order, and the manual's notes, show and raea/check pages say what's new. The worked checks' table moves "low poly" to DR14 and "the light at the cut" to DR19, each with why. shinyobjectz committed 18 days ago
d412678 Copy SHA skills -> 9addeb6: craft/checks, the six worked checks a note's ask copies into its project (rides, flat-type, faces, stands-on, shot-length, no-part); craft/ROUTER.md's notes steps 5 and 6 (give each ask a check or a clip, raea notes check until each fails first and then passes); cli.md's raea notes check and raea show --status, --states, --sign, --clip, --render; sdk.md's raea/check named, turned and inside (raea-skills #36, for DR6) shinyobjectz committed 18 days ago
9619184 Copy SHA