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", "name": "sudo-flix",
"version": "4.5.0", "version": "4.5.1",
"private": true, "private": true,
"homepage": "https://sudo-flix.lol", "homepage": "https://sudo-flix.lol",
"scripts": { "scripts": {

View File

@ -144,7 +144,7 @@ function ParticlesCanvas() {
canvas.height = canvas.scrollHeight; canvas.height = canvas.scrollHeight;
// Basic particle config // Basic particle config
const particleCount = Math.floor(Math.random() * (30 - 25 + 1)) + 25; const particleCount = 250;
let imageParticleCount = particleCount; let imageParticleCount = particleCount;
// Holiday overrides // Holiday overrides
@ -163,6 +163,7 @@ function ParticlesCanvas() {
sizeRange: [15, 30] as [number, number], sizeRange: [15, 30] as [number, number],
}, },
]; ];
imageParticleCount = particleCount * 0.123;
} }
// Fish easter egg // Fish easter egg
@ -178,7 +179,7 @@ function ParticlesCanvas() {
sizeRange: [48, 56] as [number, number], 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 // Weed easter egg
@ -193,7 +194,7 @@ function ParticlesCanvas() {
sizeRange: [28, 31] as [number, number], sizeRange: [28, 31] as [number, number],
}, },
]; ];
imageParticleCount = particleCount / 2; imageParticleCount = particleCount / 5.8;
} }
// Kitty easter egg // Kitty easter egg
@ -205,7 +206,7 @@ function ParticlesCanvas() {
sizeRange: [28, 34] as [number, number], sizeRange: [28, 34] as [number, number],
}, },
]; ];
imageParticleCount = particleCount / 2; imageParticleCount = particleCount / 4.5;
} }
// HOIST THE SAIL (of particles)! // HOIST THE SAIL (of particles)!