From f4bc4c2c8b23ac4514e119143e587beae862e93f Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Wed, 28 Feb 2024 21:17:56 -0500 Subject: [PATCH] Update to 4.5.1 !! --- package.json | 2 +- src/components/utils/Lightbar.tsx | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 39029b7b..059f694a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sudo-flix", - "version": "4.5.0", + "version": "4.5.1", "private": true, "homepage": "https://sudo-flix.lol", "scripts": { diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index 523289fd..d8c69584 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -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)!