Skip to content

Commit b789366

Browse files
committed
Randomize the cube falling
1 parent 8bebeb3 commit b789366

File tree

1 file changed

+1
-1
lines changed
  • packages/homepage/src/screens/home/hero

1 file changed

+1
-1
lines changed

packages/homepage/src/screens/home/hero/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default () => {
6868
const timeout = setTimeout(() => {
6969
createBox({ position: [0, 0, 10], rotation: [1.2, 0, 0] });
7070
setSandboxesCreatedCount(i => i + 1);
71-
}, 1000);
71+
}, 1000 + Math.random() * 500);
7272

7373
return () => {
7474
clearTimeout(timeout);

0 commit comments

Comments
 (0)