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.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
raea light steady's picture is drawn at the frame's size, so it lays over the frame
shinyobjectzba65d342a51e
diff --git a/engine/light/src/steady.rs b/engine/light/src/steady.rsindex 2732c82c..402d96b6 100644--- a/engine/light/src/steady.rs+++ b/engine/light/src/steady.rs@@ -73,8 +73,9 @@ pub fn measure(frames: &[Luma]) -> R<(Value, image::GrayImage)> {}}}- let map = image::GrayImage::from_fn(w as u32, h as u32, |x, y| {- let s = large[y as usize * w + x as usize];+ // at the frame's size, so it lays over the frame+ let map = image::GrayImage::from_fn((w * LARGE) as u32, (h * LARGE) as u32, |x, y| {+ let s = large[y as usize / LARGE * w + x as usize / LARGE];image::Luma([if s.0 > LIT { (s.1 * 100.0 / MAX_SHOWN * 255.0).min(255.0) as u8 } else { 0 }])});let pct = |v: f64| (v * 1e4).round() / 100.0;