From e5bcfb3e449fbc694486f9e6e3fe858717317078 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Sat, 25 Nov 2023 22:29:13 +0000 Subject: [PATCH] use the shape id as a seed --- src/hooks/useLiveImage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useLiveImage.ts b/src/hooks/useLiveImage.ts index 52b264b..c87c94a 100644 --- a/src/hooks/useLiveImage.ts +++ b/src/hooks/useLiveImage.ts @@ -127,7 +127,7 @@ export function useLiveImage( // We might be stale if (iteration <= finishedIteration.current) return - const random = rng() + const random = rng(shapeId) try { sendCurrentData({