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 TL7l, TL7m: a composition's footage cut out. raea's <Video> takes a matte (sdk/video media.tsx, VideoMatte exported from raea/video): a folder of PNG mattes in the media folder (m00001.png on), the file's rate, one each every frames and how many; it wears the one its source time is on (data-source-time, so trims, playbackRate, speed curves and loops follow) as its mask-image, sized and placed as its objectFit and objectPosition place the picture, the last past the end, and refuses it with framing or punchIn (the engine places those). Blitz paints raster mask-images as it paints backgrounds, and raea's render loads each frame's: a 3 s face clip's Vision mattes worn this way kept on every frame what that frame's matte keeps (overlap 0.92 at least, 0.972 on average; the uncut composition 0.53). sdk/timeline copies.ts: a media row's cutout (the matte prop's numbers, data-matte, data-brush-at, data-brush-strokes) is its clip's matte props as a film's (matte, matted, and matteFps, matteEvery, matteCount), and a set of those is the host's new cutout edit (raea-feed 2c59ec6: the host mattes the whole of what the <Video> plays into its media folder's matte/ and writes the prop; Stabilise and Retouch are refused while it is on). Conformance: 4 new Video matte tests in cutout.test.tsx. The manual's video, raea, index and editor pages regenerated (pbr.md's drift left out) shinyobjectz committed 14 days ago
c4550ad Copy SHA TL7n: a composition's footage retouched. sdk/timeline's composition copies move into src/copies.ts (heard, steady and now retouch: Copied, CopyEdit, copyProps, copyEdits; read.ts extends and delegates to it, nothing new exported). A media row carries retouch (of and the amounts above 0) when its <Video> plays a retouched copy; its clip's props are its own file, the copy (retouched) and the four amounts, as a film's clip has them, and a set of those is the host's new retouch edit (raea-feed de9a67d: the host retouches the <Video>'s whole file into its media folder's retouch/ and the edit writes src={staticFile(copy)} data-retouch-of and data-retouch-<amount>, the src as it was when off). Held steady too, the retouch is made from the steadied copy and comes off to it, and the clip's steadied prop is that copy (the copy under the retouch); Stabilise is refused while Retouch is on. A real 3 s face clip retouched in 4.3 s, a face on all 90 frames, and raea's render of the edited composition is the copy's own frame (0 apart; the file's is 1.4). Copies, moves and mattes are read and made at the rate the frames' times sit on (a 30/1 clip probed 29.97 had made a copy that drew a frame behind). The manual's editor page regenerated (pbr.md's drift left out) shinyobjectz committed 14 days ago
afe2150 Copy SHA TL8d: a composition's <Audio> has its noise reduced and its voice changed. sdk/timeline: a media row carries its file (its staticFile path) and, when it plays a copy, what the copy was made from and how (heard: of, denoise, voice); its clip's props are its own file and the copy (file, voiced, denoise, voice), as a film's sound clip has them; a set of those props on an <Audio> is the host's new heard edit (raea-feed 9094259 writes src={staticFile(copy)} data-voice-of data-denoise data-voice, and the src as it was when both are off). Each voice's copy is as loud as its source now (the voices had moved a line with pauses -12.5 to +8.6 dB). raea renders the result: a scratch composition's line at 105 Hz voiced, 140 its own. The manual's editor page regenerated (pbr.md's drift is the paint lane's, left out) shinyobjectz committed 14 days ago
fad2dbc Copy SHA TL7g: a clip's own Adjust in the timeline. sdk/timeline adjust.ts: a clip's Adjust as its props (adjustBrightness..adjustGrain, 0 as shot; ADJUST_PROPS), read as the kinds not 0 (adjustOf), written whole (adjustProps), its errors, and the preview's look (adjustLook: the filter's id and steps, the vignette's background). read.ts: a sequence's <Nudge adjust> read back as the clip's props and written by the set edit with the rest of its placement; each kind keyed as adjust.<kind>. The app (raea-feed PR #19 8cab9ce): the row's adjust panel of twelve sliders, keyed, with reset; the picture wearing it as one filter after the key and a vignette layer; the host reading and writing <Nudge adjust>; Send saying it. Tests: 106 timeline SDK; 40 browser tests in Chrome, 38 of 40 in raea's window, two skipping themselves; the manual regenerated; the inspector bullet's Not yet without Adjust shinyobjectz committed 15 days ago
494b395 Copy SHA TL5a, TL7g: a mask's, a key's and a crop's numbers keyed, and a part's own Adjust in the SDK. sdk/video nudge.tsx: <Nudge keys> takes dotted names (NUDGE_KEYED: mask.x..mask.round, chroma.strength, chroma.shadow, crop.left..crop.bottom, adjust.<kind>), each set into its still mask, key or crop (a mask or key it keys must be given; an adjustment starts as shot), a curve that overshoots held inside the value's range. sdk/video adjust.ts: CapCut's Adjust (brightness, contrast, saturation, exposure, sharpen, highlights, shadows, temperature, tint, fade, vignette, grain) as one SVG filter (a tone table, saturate and a warmth matrix, a 3x3 sharpen, a fractal noise added about its middle, its seed the frame) and a vignette layer; <Nudge adjust> draws them after its chroma key. A probe in raea and in Chrome: tone, colour, sharpen and vignette within 0.4% RMSE, grain the same strength (sd 0.0307 against 0.0308), its noise pattern raea's own. sdk/timeline: KEY_NAMES and KEYABLE (a clip's prop to its <Nudge keys> name, maskFeather to mask.feather), read back and written by them; propsAt, a clip's props at a frame with its keyed ones there. Tests: 25 Nudge keys and cutout, 12 adjust conformance, 99 timeline SDK; the counts (39 browser tests in Chrome, 37 of 39 in raea's window, raea-feed PR #19 e2d005b); the manual regenerated shinyobjectz committed 15 days ago
fa88459 Copy SHA TL7f: a part's mask, blend and chroma key, CapCut's Mask, Basic's Blend and Cutout's Chroma key. sdk/video cutout.ts: a mask is an SVG mask image laid over the frame (line, mirror, circle, rect, heart, star; turned, feathered by a blur no larger than the frame and its reach, inverted by excluding it from a solid layer), a blend is CSS's mix-blend-mode (CapCut's modes CSS has, Add as plus-lighter, then difference and exclusion), a chroma key an SVG filter whose colour matrix makes the key's hue transparent (strength, and shadow letting the screen's darker parts through half seen). <Nudge mask blend chroma> draws them; a masked part is placed in a full-frame layer so the mask moves with it. raea's renderer draws all three as Chrome does (a probe of a keyed green panel, a feathered heart, an inverted turned star and a screen blend; an SVG <mask> for inverting overran Vello's buffers, so it is mask-composite). sdk/timeline cutout.ts: a clip's cutout as props (mask, maskX..maskInvert, blend, keyColor, keyStrength, keyShadow), taken off by their plain values, the preview's look (cutoutLook) and its errors; a sequence's <Nudge> read back with them and written whole by the nudge edit. 18 conformance tests, 97 SDK tests; the manual regenerated shinyobjectz committed 15 days ago
a36df13 Copy SHA TL7e: a clip's Combo animation, CapCut's third kind. sdk/video edges.ts gains COMBOS, seven waves (pulse, sway, float, shake, swing, spin, flicker), each a property's values over one cycle eased between, comboStyle and joinStyles; <Transition combo={{ kind, frames }}> moves the part throughout with its in and out. sdk/timeline: Clip.combo { kind, length } (a cycle's frames: the clip's length plays it once, fewer loop it), the set op's combo, animStyle drawing it from the palette's combos, a plugin's Combos as data (timeline.combos, checked), and a composition's <Transition combo> as an edge op with side combo, read back. fromSequences now reads a sequence's in and out that no cut's transition takes as the clip's own In and Out (TL7d), so they survive the host's re-read. 90 SDK tests, 5 Transition conformance tests; the manual regenerated shinyobjectz committed 15 days ago
9f553d6 Copy SHA