Rays in a shape
Light bouncing inside a mirror, and the bright curves it leaves.
Turn the wall of a shape into a mirror, switch on thousands of light rays inside it, and follow every bounce. Most of the picture becomes a soft blur of crossing lines. But in some places the light gathers into sharp, bright curves. This series is about those curves, and about how the shape of the mirror decides them.
How it works
One rule. Each ray travels in a straight line until it meets the wall. There it bounces with angle in = angle out, measured from the wall's normal, the line at right angles to the wall at that point. Nothing random is added: every bounce is computed exactly. Curved mirrors are traced as thousands of short straight pieces (4,000 for the heart and the cardioid), small enough that each bounce follows the real curve.
Caustics. Neighbouring rays leave a curved wall at slightly different angles. Often each reflected ray just touches one curve without crossing it, and that curve is called the envelope of the rays. Along an envelope thousands of rays run almost side by side, so the light piles up into a bright line: a caustic. It is the same bright curve you see on the surface of coffee in a mug on a sunny day. Every new bounce folds the light again and adds a new set of caustics.
Some shapes have exact answers.
Other shapes have no tidy rule. A heart, a cardioid used as the mirror or a Reuleaux triangle give patterns you can only find by tracing the rays. Sharp points and dents throw neighbouring rays in very different directions, so some caustics stay crisp and others break into a fine tangle.









