Brightpixels

BRIGHTPIXELS 1.1

Let the pixels fly.

Confetti, sparks and pointer trails on one reusable canvas. Extended-range GPU light where supported, ordinary-color canvas effects everywhere else.

Press for sparks. Move for trails.

The glow layer lets every click through.

Preparing renderer…

Renderer status does not measure physical brightness. Actual HDR depends on your browser, display and settings. Reduced motion uses stationary sparkles. The fallback caps active particles at 256.

import { createParticleEffects } from 'brightpixels/particles';

const effects = createParticleEffects({ intensity: 8 });
await effects.ready;
effects.burst({ x: 300, y: 300, count: 120 });
const stopTrail = effects.trail(document.querySelector('.stage'));
// Later: stopTrail(); effects.clear(); effects.destroy();