mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +01:00
ADD EVEN MORE FISHIE
This commit is contained in:
parent
ed1d7418d0
commit
6b4a61d6fc
1 changed files with 3 additions and 3 deletions
|
@ -138,7 +138,7 @@ function ParticlesCanvas() {
|
||||||
canvas.height = canvas.scrollHeight;
|
canvas.height = canvas.scrollHeight;
|
||||||
|
|
||||||
// Basic particle config
|
// Basic particle config
|
||||||
const particleCount = 20;
|
const particleCount = 25;
|
||||||
let imageParticleCount = particleCount;
|
let imageParticleCount = particleCount;
|
||||||
|
|
||||||
// Holiday overrides
|
// Holiday overrides
|
||||||
|
@ -160,12 +160,12 @@ function ParticlesCanvas() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fish easter egg
|
// Fish easter egg
|
||||||
const shouldShowFishie = Math.floor(Math.random() * 600) === 69;
|
const shouldShowFishie = Math.floor(Math.random() * 130) > 69;
|
||||||
if (shouldShowFishie) {
|
if (shouldShowFishie) {
|
||||||
imageOverride = [
|
imageOverride = [
|
||||||
{
|
{
|
||||||
image: "/lightbar-images/fishie.png",
|
image: "/lightbar-images/fishie.png",
|
||||||
sizeRange: [10, 11] as [number, number],
|
sizeRange: [10, 13] as [number, number],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
imageParticleCount = particleCount / 2;
|
imageParticleCount = particleCount / 2;
|
||||||
|
|
Loading…
Reference in a new issue