From 32fe91398a10b8c3eb6faefcfbaa00ee3059d1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Wed, 23 Oct 2024 13:07:29 +0200 Subject: [PATCH] further adjustments to record video --- frontend/src/app/render_v2/rs.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/render_v2/rs.cljs b/frontend/src/app/render_v2/rs.cljs index 1e6e2abe1..4f5fe58f3 100644 --- a/frontend/src/app/render_v2/rs.cljs +++ b/frontend/src/app/render_v2/rs.cljs @@ -77,9 +77,9 @@ [ptr (alloc-rects shape-count)] (doseq [index (take shape-count (iterate inc 0))] (let [mem (js/Float32Array. (.-buffer heap) (+ ptr (* rect-bytes index)) rect-bytes) - x1 (rand-int 1024) + x1 (rand-int 4096) x2 (+ x1 (rand-int 256)) - y1 (rand-int 1024) + y1 (rand-int 4096) y2 (+ y1 (rand-int 256))] (set! shapes-ptr ptr) (set! shapes-size shape-count)