diff --git a/public/lightbar-images/auto-gun.png b/public/lightbar-images/auto-gun.png new file mode 100644 index 00000000..e48d5d3c Binary files /dev/null and b/public/lightbar-images/auto-gun.png differ diff --git a/public/lightbar-images/gun.png b/public/lightbar-images/gun.png new file mode 100644 index 00000000..b1f078a3 Binary files /dev/null and b/public/lightbar-images/gun.png differ diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index c681314d..d0e4e661 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -347,6 +347,22 @@ function ParticlesCanvas() { imageParticleCount = particleCount / 11; } + // Gangster easter egg + const shouldShowCowboy = Math.random() < 0.98; // 3% + if (shouldShowCowboy) { + imageOverride = [ + { + image: "/lightbar-images/auto-gun.png", + sizeRange: [28, 36] as [number, number], + }, + { + image: "/lightbar-images/gun.png", + sizeRange: [23, 30] as [number, number], + }, + ]; + imageParticleCount = particleCount / 11.6; + } + // HOIST THE SAIL (of particles)! for (let i = 0; i < particleCount; i += 1) { const isImageParticle = imageOverride && i <= imageParticleCount;