Skip to content

Commit

Permalink
start falling from header
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardZaydler committed Dec 4, 2024
1 parent bb18b43 commit a7f5e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/SnowFall/SnowFall.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const SnowfallBackground = ({ topOffset = 0 }: { topOffset?: number }) =>
const createSnowflakes = (width: number, height: number) => {
const snowflakes = Array.from({ length: 100 }, () => ({
x: randomNumberBetween(0, width),
y: randomNumberBetween(-height, height),
size: randomNumberBetween(2, 9),
y: randomNumberBetween(-height, 60),
size: randomNumberBetween(2, 10),
speed: randomNumberBetween(1, 1.5),
horizontalSpeed: randomNumberBetween(-1, 1),
}));
Expand Down

0 comments on commit a7f5e5e

Please sign in to comment.