Skip to content

Commit

Permalink
refactor: speeeed [2024-10-27]
Browse files Browse the repository at this point in the history
  • Loading branch information
zerj9 committed Oct 27, 2024
1 parent 7e7dbf2 commit 93822e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gridwalk-ui/src/app/login/components/gridBackground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function GridBackground(): JSX.Element {
const updateBlocks = (time: number) => {
blocks.forEach((block) => {
const t = (time * 0.001) / block.duration + block.delay;
const moveRange = 60;
const moveRange = 900;

block.x = block.baseX + Math.sin(t) * moveRange;
block.y = block.baseY + Math.sin(t * 0.8 + block.phase) * moveRange;
Expand Down

0 comments on commit 93822e6

Please sign in to comment.