This website requires JavaScript.
Explore
Help
Sign In
shinyobjectz
/
raea
Watch
1
Star
0
Fork
0
mirror of
https://github.com/shinyobjectz/raea.git
synced
2026-12-01 12:44:11 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
ea3d7f85ec5e55be8a99befff663ec3dd2bb14a9
raea
/
runtime
T
History
shinyobjectz
d1edca2817
Layer pass: a <Video> is a layer (docs/review.feature R2e; parked with the source stamps): Video and Audio pass their source stamps on to the element they draw (sdk/video media.tsx useMediaAttrs), and the page bridge keeps a video's KEPT data-raea props (runtime/page elements.rs dropped every data- prop of a video, its player's and the stamps alike). bench/layers: a 4 s test-pattern clip in the conformance composition, IoU 1.000 at all three moments; all 16 layers pass and the four mutants still fail.
2026-11-09 12:53:33 -08:00
..
bake
raea dc579e418
2026-10-31 13:15:29 -07:00
bundle
Layer keys (docs/review.feature R2a, work in progress, parked with the source stamps): a .map()'s key in the stamps (data-raea-idx, and loc#key in a use chain); raea's 3D parts (Mesh3d, Model, Entity…) stamped and given a LayerKey component (raea_sys_frame::layer) from it in runtime/scene; the work folder's SDK imports (../motion/x) read as raea's, not the edit's own; only components that read their children's types keep them unwrapped; RAEA_HIDE_LAYERS hides a layer by key (page CSS from its stamps, a 3D part's Visibility) for the layer pass's oracle. Not for landing before the layer pass.
2026-11-09 12:45:05 -08:00
calls
raea/text loadFont: a composition asks for a Google Fonts family by name and the page gets it (part of
#13
)
2026-11-08 10:38:36 -08:00
dom
Page media in its own crate, raea-runtime-dom-media (runtime/dom/media), so raea-runtime-dom stays under the crate limit (L1 size: 2049 lines); its copies folded
2026-11-09 12:39:13 -08:00
edit
raea e699cf684509a8bbada118cc302c56e99065a680
2026-11-05 17:19:37 -08:00
encode
An HTML page's files load on Windows (
fixes
#40
,
fixes
#41
,
fixes
#42
). The HTML runtime was handed the page's folder as Windows wrote it: canonicalized to a verbatim \\?\D:\ path (
#40
), or as D:/..., which a URL reads as scheme d (
#41
). The cached Google Fonts face came back from html.read as C:\... (
#42
). Its backslashes became CSS escapes in url(), and the drive a URL scheme in src. Now the folder is canonicalized without the verbatim prefix (raea_io_home::plain), and the runtime gets every path in URL form: raea_io_home::url_path, /D:/work/page on Windows, which the page's file:/// base joins into file:///D:/work/page. That covers the page folder, the font folder and html.read's answers. What the runtime names back (html.read's urls, a video's file, a sound's src) is read through from_url_path. Nothing changes on Unix, where both are the path itself. io/home's test checks the forms on any system, and joins them to file:/// as Blitz does: the result is a file URL, not scheme d
2026-11-08 01:40:12 -08:00
export
Layer pass, the 3D's half (docs/review.feature R2b, R2e; work in progress, parked with the source stamps): each Engine::draw records its frame's meshes with --layers (systems/frame layer.rs record: every shown Mesh3d from the lowest-order active Camera3d drawn on the CPU straight at mask size, nearest first, as the layer of the nearest part up with a LayerKey; skinned meshes posed by their joints; no morph targets), and the file's mask is the page's where it painted and the 3D's elsewhere (raster.rs, Recorder::frame_3d). Names: a use's outermost element is named after its component (Badge), an unnamed part after its tag (Mesh3d), else aria-label, class, tag. RAEA_LAYERS=1 turns it on too, until --layers is in the help with its manual entry. bench/layers: a third mesh in front of the moving cube, written before it; mutants.sh breaks the pass four ways (keys swapped, the 3D 2 px right, the farthest triangle winning, the page under the 3D): each fails compare.sh while the pass passes all 15 layers at IoU >= 0.969.
2026-11-09 12:48:31 -08:00
gpuframe
Direct render: the 2D image rows' Blitz page (a Bevy App) is made on its first draw, not with the view, so a render that never draws an image row makes none (
closes
#70
)
2026-11-09 08:46:40 -08:00
input
raea dc579e418
2026-10-31 13:15:29 -07:00
js
The desktop app keeps its localStorage across launches, and a page reads it before its code runs (Shane, 11-09: the open workspace and Getting started's Hide were lost on every quit).
2026-11-09 12:42:59 -08:00
jsengine
raea dc579e418
2026-10-31 13:15:29 -07:00
live
Windows: raea play no longer crashes as its mixer opens. warm_audio found the output device on a thread of its own, but on Windows cpal keeps one device enumerator a process (a OnceLock) made on the thread that first asks, and that thread's COM is torn down when it ends: where nothing else held MMDevApi.dll (GitHub's runners, no audio device) it was unloaded, and the mixer's open called through the enumerator into it, an access violation in every play since the JS error before it was fixed. The warm is for CoreAudio's start-up and runs only on Apple now; elsewhere the mixer finds the device on the play's own thread. release.yml's Live play runs without the Vulkan loader's debug lines and prints each failing case's log tail, and bevy-ts's check.sh doesn't take the loader's INFO lines for a failure's reason
2026-11-08 17:36:03 -08:00
look
Stills late in a long 3D composition no longer cost memory and time with the frame index (
closes
#77
). A still at --at F stepped React only near F, but held every frame before it as copies; each changing column was keyed on every one of those frames, and the timeline evaluated and kept every frame (a film's --at 2448: 234 s and 7.1 GB, against 9 s and 3.1 GB at --at 30). The timeline (core/program) now evaluates only the frames where some key's value can change from the frame before, and a frame no key changes shares the frame before's columns. A column keyed one value a frame keeps only the keys where its value differs from a neighbour's (raea_runtime_look::linear_keys, also used by the scene's per-frame colours), which is exact under linear interpolation. 200 turning cubes at --at 2448: peak 829 MB -> 504 MB (1.32x the --at 30 peak, was 2.14x), engine open 700 ms -> 280 ms, and the frame is pixel-exact. bench/at-cost checks the ratio and the pixels.
2026-11-09 10:23:46 -08:00
page
Layer pass: a <Video> is a layer (docs/review.feature R2e; parked with the source stamps): Video and Audio pass their source stamps on to the element they draw (sdk/video media.tsx useMediaAttrs), and the page bridge keeps a video's KEPT data-raea props (runtime/page elements.rs dropped every data- prop of a video, its player's and the stamps alike). bench/layers: a 4 s test-pattern clip in the conformance composition, IoU 1.000 at all three moments; all 16 layers pass and the four mutants still fail.
2026-11-09 12:53:33 -08:00
plugins
Layer keys (docs/review.feature R2a, work in progress, parked with the source stamps): a .map()'s key in the stamps (data-raea-idx, and loc#key in a use chain); raea's 3D parts (Mesh3d, Model, Entity…) stamped and given a LayerKey component (raea_sys_frame::layer) from it in runtime/scene; the work folder's SDK imports (../motion/x) read as raea's, not the edit's own; only components that read their children's types keep them unwrapped; RAEA_HIDE_LAYERS hides a layer by key (page CSS from its stamps, a 3D part's Visibility) for the layer pass's oracle. Not for landing before the layer pass.
2026-11-09 12:45:05 -08:00
react
raea is developed here now (public-first)
2026-11-07 13:36:50 -08:00
scene
Layer keys (docs/review.feature R2a, work in progress, parked with the source stamps): a .map()'s key in the stamps (data-raea-idx, and loc#key in a use chain); raea's 3D parts (Mesh3d, Model, Entity…) stamped and given a LayerKey component (raea_sys_frame::layer) from it in runtime/scene; the work folder's SDK imports (../motion/x) read as raea's, not the edit's own; only components that read their children's types keep them unwrapped; RAEA_HIDE_LAYERS hides a layer by key (page CSS from its stamps, a 3D part's Visibility) for the layer pass's oracle. Not for landing before the layer pass.
2026-11-09 12:45:05 -08:00
scene2d
Bevy's own Text2d inside a Canvas3D and TextureAtlasBuilder; Bevy parity for 2d/text2d (exact), 2d/texture_atlas and 2d/rotation
2026-11-08 21:27:59 -05:00
scene3d
Bevy's deferred_raymarch, exact: a GBufferPass, drawn in the camera's viewport; cameras and lights placed by their own rotation
2026-11-08 14:40:08 -08:00
shared
raea dc579e418
2026-10-31 13:15:29 -07:00
sound
raea e699cf684509a8bbada118cc302c56e99065a680
2026-11-05 17:19:37 -08:00
twins
raea dc579e418
2026-10-31 13:15:29 -07:00
view
Direct render: the 2D image rows' Blitz page (a Bevy App) is made on its first draw, not with the view, so a render that never draws an image row makes none (
closes
#70
)
2026-11-09 08:46:40 -08:00