Add festive cheer to your website with simple, lightweight holiday overlays
code View on GitHub// Add to your HTML
<script src="https://155601-mikey.github.io/The-Holiday-Library/NewYearsOverlay.js"></script>
// Initialize with default settings
const fireworks = new FireworksOverlay();
fireworks.startAnimation();
// Or with custom options
const fireworks = new FireworksOverlay({
colors: ['#FF0000', '#00FF00', '#0000FF'],
particleCount: 100,
gravity: 0.05,
speed: { min: 3, max: 8 },
radius: { min: 2, max: 5 },
interval: 500,
zIndex: 10000
});
Minimal impact on page load times
Adjust effects to match your site
Simple implementation with one line of code
fireworks.startAnimation();
fireworks.stopAnimation();