The Prism Garden

Place glass prisms and lenses to split white light into rainbows. Watch dispersion, refraction, and chromatic aberration paint spectral colors across your garden of light.

Tools

Glass Shapes

60

Optics

1.52
50
12
20

Display

Prisms: 0 | Rays: 0 | Bounces: 0

How to Play

Click to place glass shapes. Use Move to drag them, Rotate to spin with click-drag. Light tool lets you reposition the light source. Delete removes shapes on click. Scroll while hovering a prism to rotate it.

White light enters from the left. Each glass shape refracts the light based on Snell's law, and dispersion splits the beam into spectral colors (red bends least, violet bends most). Higher dispersion = wider rainbow spread. The refraction index controls how sharply light bends at glass surfaces.

Try the Rainbow preset to see a classic prism splitting white light, or Diamond to see total internal reflection and fire. Experiment with lens arrays to focus and scatter spectral beams.