Little Pretty Lights

Free · In your browser · No install

Spectral optics you can drag around.

Lasers, prisms, mirrors and glass, traced live on your GPU. White light hits a prism and comes out a spectrum — not because someone painted a rainbow there, but because the simulation is tracking wavelengths and they bend by different amounts.

Play in your browser →

Opens littleprettylights.app. Nothing to install and no account. It needs a browser with WebGPU — recent Chrome or Edge on desktop is the safe bet.
A white laser beam entering a glass prism and leaving it as a fanned spectrum, red through violet, landing on a sensor at the far wall of a dark room.
One laser, one prism, one sensor. The colours are where the physics put them.

Light that behaves like light.

Most puzzle games about beams move a line around. This one runs an actual spectral renderer: light carries a wavelength, glass has a refractive index that depends on it, and a prism separates white into its colours because that is what those two facts do when you put them together.

Which means the puzzles can ask for things a line-drawing game cannot. Get 440–490 nm onto this sensor and keep everything else off it. Total internal reflection at a shallow enough angle. A filter that passes one band and eats the rest. You are not learning the game's rules — you are learning optics, and the game just happens to be scoring it.

Seven acts, each one a new thing light does.

I

Reflect

Light travels in straight lines until something turns it. Mirrors, flat and bowed.

II

Bend

Glass does not turn light so much as lean on it. Blocks, lenses and balls.

III

Split

One beam, two paths — by geometry with a half-silvered line, or by colour with a prism.

IV

Filter

Choosing what gets through: colour by colour with filters, all of it at once with a shadow.

V

Trap

Light that cannot get out. Shallow angles inside glass, and walls that make the dark.

VI

Master

Every tool on the rail, and puzzles that need more than one of them.

VII

Time

Nothing here holds still. Catch the light where it slows down, and keep it there.

Pick a tool, drag it into the beam, watch what happens.

Each level hands you a specific allowance — sometimes exactly one mirror — and a sensor to light up. The rail on the left is everything the game has; a level greys out what it is not giving you.

  • laser
  • light
  • mirror
  • curve
  • glass
  • ball
  • lens
  • prism
  • filter
  • splitter
  • wall
  • absorber
  • detector
The game in play: a tool rail listing Select, Mirror and Delete; a panel headed Hit the Target with the brief a green laser, a sensor, and one mirror, bend the beam, and a goal reading Light the sensor at 2%; and a green laser crossing a dark room toward a sensor.
Level one. One mirror, one sensor, and a percentage that climbs as the light lands.

Then an empty room, every tool, and no one keeping score.

The sandbox is the campaign with the rules taken off. Every optic, no allowance, nothing to win. Build the thing you were curious about halfway through act three. Whatever you make is saved as you go, and Surprise me deals you a generated room if you would rather start from something than from nothing.

The whole scene fits in the link

Share gives you a URL with the entire scene compressed into it — no server, no account, no upload. Whoever opens it gets your room, exactly, down to the float.

A link can carry a puzzle

Not just the picture: the goals, the sensors they name, and which tools the solver is allowed. You can hand someone a challenge, not just a screenshot.

Turn the light detail up

Single ray is one clean beam. Full lets the light fill the room and bounce — slowest, prettiest, and the reason the whole thing runs on WebGPU.

Built to be looked at differently

Red-weak, green-weak and blue-weak colour-vision modes, a brightness dial, and a reduce-motion switch that stops the dust and the shimmer.

Before you click.

  • —
    It's free, there's no account, and nothing is stored anywhere but your own browser.
  • —
    It needs WebGPU. Recent Chrome or Edge on desktop is the safe bet. Without it you get a screen explaining why, which keeps your share link so it still works once you're somewhere that can run it.
  • —
    Desktop is where it's best — there's a lot of dragging, and a lot of pixels of light to push.
  • —
    The campaign remembers where you got to. Clear your browser data and it forgets.

Play in your browser →