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
b4fa9ae676bb6cdc8acde2b6eba72545a7edd5f6
raea
/
runtime
/
bundle
/
src
T
History
shinyobjectz
9a289e072c
bundle: the copies' lookup is one closure, shorter notes (dupes, size)
2026-11-13 11:42:00 -08:00
..
cache.rs
bundle: the copies' lookup is one closure, shorter notes (dupes, size)
2026-11-13 11:42:00 -08:00
entry.rs
LR2: every host that runs a composition answers its layout reads. Live play (preview, raea play, the app's stage, an exported game) answers from its live page, synced mid-settle as a render's is. Live play's lite runtime set no refs (a ref was null, a canvas drawn through one drew nothing): its hosts now keep bevy-react's BevyElement, BevyCanvasElement and BevyTextNode linked as React's tree is and set and clear refs, and entry_lite installs canvas2d and the DOM reads. raea world answers from the page it lays its frames out with; a baked timeline (raea play --baked) refuses a read plainly instead of baking it as 0.
#54
's repro played live puts "here" at x 342 (x 0 before); every layout-reads probe played live is its render's frame (SSIM 1.000), and the games replay (pong, platformer, lite against React) stays 1.000. A read costs a live frame about 1.5 ms (step p50 0.4 -> 1.9 ms, one read a frame on a 40-line page)
2026-11-12 20:30:01 -08:00
fresh.rs
raea play works in a folder with its own tsconfig.json: the work copy leaves it out (it shadowed the live runtime's paths; play, the stage and played stills threw __at is not a function)
2026-11-13 10:46:25 -08:00
lib.rs
LR3: a composition's refs have the geometry a web component reads, from the page that draws the frame: getBoundingClientRect (a DOMRect, transforms included), getClientRects, offset* and offsetParent (untransformed, whole px, from the positioned ancestor's padding edge), client* and scroll*, each as Chrome answers it. bevy-react 0.8.1 gets a patch (sdk/react/js/patches, applied by bun install) that makes its instances a tree, BevyElement and BevyTextNode with their parent, children and committed props; sdk/raea's dom-reads puts the reads on BevyElement from the entry.
#54
's repro now puts "here" where Chrome does (x 342, was 0), and probes/geometry.tsx prints every read and matches Chrome's words. The bundle crate's stylesheet url() rewriter moves to raea-runtime-cssurls to leave it under 2000 lines
2026-11-12 14:18:19 -08:00
outside.rs
Every 2D primitive and ring in Mesh2d, 2D drawn with Bevy's MSAA and exact colours; Bevy parity for 2d/2d_shapes
2026-11-08 20:57:45 -05:00
pid.rs
A render's sweep keeps the work folder of a render that still runs, however long since its folder changed. The two-hour rule now removes only folders whose process isn't known to run (gone, unknown, or no PID in the name): a render running past two hours stops touching its folder's top level well before it ends, and the next render's sweep deleted it. This render's own folders count as running. pid.rs's test sweeps a folder of aged ones as it would run three hours on. (
closes
#31
)
2026-11-07 15:40:18 -08:00
rewrite.rs
bundle: the copies' lookup is one closure, shorter notes (dupes, size)
2026-11-13 11:42:00 -08:00
styles.rs
raea e2d2dd2c0
2026-11-06 20:49:59 -08:00
tests.rs
A render starts in a fraction of the time in a real project: the export cache and the bundler no longer read or stat every file under the edit's folder
2026-11-13 11:42:00 -08:00