1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Update to 4.5.1 !!

This commit is contained in:
Cooper Ransom 2024-02-28 21:17:56 -05:00
parent c75fea6bfd
commit f4bc4c2c8b
2 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{
"name": "sudo-flix",
"version": "4.5.0",
"version": "4.5.1",
"private": true,
"homepage": "https://sudo-flix.lol",
"scripts": {

View file

@ -144,7 +144,7 @@ function ParticlesCanvas() {
canvas.height = canvas.scrollHeight;
// Basic particle config
const particleCount = Math.floor(Math.random() * (30 - 25 + 1)) + 25;
const particleCount = 250;
let imageParticleCount = particleCount;
// Holiday overrides
@ -163,6 +163,7 @@ function ParticlesCanvas() {
sizeRange: [15, 30] as [number, number],
},
];
imageParticleCount = particleCount * 0.123;
}
// Fish easter egg
@ -178,7 +179,7 @@ function ParticlesCanvas() {
sizeRange: [48, 56] as [number, number],
},
];
imageParticleCount = particleCount * 0.9; // Adjusting the count to display significantly more fish than sharks
imageParticleCount = particleCount * 0.121;
}
// Weed easter egg
@ -193,7 +194,7 @@ function ParticlesCanvas() {
sizeRange: [28, 31] as [number, number],
},
];
imageParticleCount = particleCount / 2;
imageParticleCount = particleCount / 5.8;
}
// Kitty easter egg
@ -205,7 +206,7 @@ function ParticlesCanvas() {
sizeRange: [28, 34] as [number, number],
},
];
imageParticleCount = particleCount / 2;
imageParticleCount = particleCount / 4.5;
}
// HOIST THE SAIL (of particles)!