
A look under the hood of our new homepage — thousands of luminescent particles, shader-driven glow and a little physics.
Our homepage greets you with a swarm of particles that assemble into the Lunar mark. It looks like magic, but it is mostly careful sampling, a custom shader and a spring.
Sampling the shape
We render the logo to an offscreen canvas, read its pixels, and pick thousands of points inside the shape. Each particle is given a home position plus a random depth so the mark feels sculpted rather than flat.
Glow without the cost
Instead of heavy post-processing, each point is drawn with a soft radial falloff in the fragment shader and blended additively. Overlapping particles naturally bloom where they cluster.
- Pointer repulsion computed on the CPU, eased back with a spring
- Device-motion listeners for a chaotic scatter on mobile
- Particle counts scaled to screen size and device pixel ratio
And yes — there are a couple of easter eggs. We will leave those for you to find.
