Skip to content

Commit

Permalink
randomize
Browse files Browse the repository at this point in the history
  • Loading branch information
brycedorn committed Jan 15, 2025
1 parent 093401f commit 735e738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
y={y * (innerWidth / (arr[0].length + padding)) +
(innerHeight - (innerWidth / (arr[0].length + padding)) * arr.length) / 2}
width={innerWidth / (arr[0].length + padding)}
dir="neg"
axis="x"
dir={(x - y) % 3 === 0 ? 'neg' : 'pos'}
axis={(x + y) % 3 === 0 ? 'x' : 'y'}
dur={1}
delay={0.01 + 0.15 * x + 0.01 * (arr[0].length + padding) * y}
speed={400}
Expand Down

0 comments on commit 735e738

Please sign in to comment.