A SMALL EXPERIMENT IN WONDER

Supernumerary rainbow simulator

Make extra rainbow bands with similar-sized droplets. Explore wave interference and see why size variation softens supernumerary rainbows.

Put a rainbow in your world. Your camera picture stays on this device.

YOUR LITTLE PATCH OF SKY
01 / SUMMER SHOWER
02 A second reflection
01 The primary bow
The sun is behind you
Gathering a little light…
Summer shower
12° sun · 0.55 mm drops Made in your browser

A LITTLE SOMETHING TO NOTICE

Primary and secondary rainbows

The second rainbow comes from light reflecting twice inside a drop. That extra bounce reverses its colours—and leaves it a little fainter.

Try this rainbow experiment

Supernumerary rainbows are delicate extra bands close to the main rainbow. They are a wave effect: light taking different paths through a drop can reinforce or cancel as it leaves. A ray picture explains where the main bow appears, but wave interference is needed to explain these closely spaced fringes.

This page opens with the Extra bands preset: a low Sun, 0.18 mm mean droplet diameter, and just 2% size variation. Look just inside the primary bow for repeating coloured bands. Switch the second bow off if you want to concentrate on the primary and its fringes. The larger secondary arc is produced by two internal reflections; it is a different phenomenon.

Increase Size variation gradually while keeping droplet size fixed. Different sizes place their bright and dark wave bands at different angles. Averaging them together weakens the pattern, so the fine fringes blend into a smoother bow. Reset to Extra bands, then change mean droplet size instead: larger spherical drops produce more closely spaced features.

The simulation combines an Airy wave approximation with a mixture of droplet sizes and blur from the finite solar disk. That makes it useful for comparing how these factors affect fringe visibility, without calculating full Mie scattering. Save two images with different size variations and compare the settings printed underneath, or share links so a classmate can reproduce your experiment in their browser.

Explore the full rainbow simulator

FOLLOW THE LIGHT

How rainbows form: experiments to try

Sunlight bends as it enters and leaves a water droplet, and reflects inside it. Different colours bend by different amounts. One internal reflection produces the primary rainbow; two produce the fainter secondary with reversed colours. Light waves also interfere, creating fine extra bands when conditions are right.

For teachers: suggested for grades 5-8, with a 10-minute activity. Predict what will happen when the Sun rises, then test it. Compare two droplet sizes while holding other settings fixed, and describe how the bands change. Finish by explaining the reversed colours of the second bow. Use Share this sky to save the settings or copy an embed for your lesson page.

Rainbow simulator questions

Why is a rainbow about 42 degrees from the antisolar point?

Refraction and one internal reflection concentrate sunlight near a particular outgoing angle. The primary bow lies roughly 40-42 degrees from the direction opposite the Sun, depending on colour. The angle describes the bow's radius, not the Sun?s height.

Why does the rainbow disappear when the Sun is high?

As the Sun rises, the antisolar point sinks below the horizon. Above about 42 degrees of solar elevation, the primary bow falls below a level ground horizon. The larger secondary may remain visible until roughly 51-53 degrees. From above the rain, an observer can see parts of a bow below their horizon.

Why are the colours of the second rainbow reversed?

The secondary rainbow comes from two internal reflections in each drop instead of one. This changes the outgoing directions, reversing the colour order: red lies on the inner edge of the secondary and the outer edge of the primary.

What makes a fogbow look white?

Tiny fog droplets spread the light over a wider range of angles. The colours overlap strongly, making a broad, pale bow with possible faint colour at its edges. Choose Morning fog to explore this approximate effect.

What are supernumerary rainbows?

Supernumeraries are fine extra bands caused by interference between light waves taking different paths through droplets. They are easiest to see when drops have similar sizes. Choose Extra bands, then increase Size variation to see the fringes soften.

Does raindrop size change a rainbow?

Yes. Smaller droplets broaden the bow and its wave features; larger spherical drops make narrower, more closely spaced features. A mixture of drop sizes smooths fine bands. This model approximates spherical drops, so very small fog droplets and large flattened raindrops have limits.

Rainbow Simulator · Open this sky in the full simulator

THE SCIENCE, AND A LITTLE ART

How rainbows form

Sunlight enters a drop, bends, reflects inside it, and bends again on the way out. One internal reflection makes the primary bow; two make the fainter, reversed secondary.

Why the extra bands?

Light is a wave. Different paths through a drop interfere, reinforcing some directions and cancelling others. Similar-sized drops keep those delicate fringes visible. A mixture of sizes blurs them together.

What this toy calculates

Rainbow Simulator uses a spherical-drop Airy approximation, with water dispersion, Fresnel reflection, a lognormal mixture of drop sizes, and the softening effect of the Sun’s 0.53° disk. A background worker samples 41 wavelengths and converts their combined light to display colours using an approximation to the CIE colour-matching functions.

Sun elevation sets the bow’s position around the point opposite the Sun. At ground level, the main bow slips below the horizon when the Sun rises above about 42°. The secondary can remain visible a little longer.

Your camera, your sky

Camera mode blends the rainbow over live video on your device. Drag to place it, adjust its scale, and move the horizon to keep the effect above the ground. Placement is manual: the toy does not detect the real Sun, track your surroundings, or recognise buildings and trees. Capture photo saves one frame with the effect. Camera access stops when you switch away from the page.

Where imagination comes in

The landscape, clouds, and fog background are illustrative. Rain amount adjusts brightness, not a measured rain rate. Exposure is fixed. This is not a full Mie simulation: tiny fog drops and large, flattened raindrops are only approximate, and multiple scattering is omitted. Colours are limited by your screen.

Try the raindrop size experiment, double rainbow, fogbow, or supernumerary rainbow.

PASS A LITTLE WONDER ALONG

This sky is yours to share.

The link remembers the sun, the droplets, and all your settings.

Embed this sky

Paste this code into a lesson or blog to include the interactive sky with these settings. Adjust the iframe height to suit your page; narrow embeds can scroll to the controls.

A LITTLE SKY TO KEEP

Take the view with you.

Your rendered sky with its sun and droplet settings

Your sky is ready as a PNG, with the settings tucked underneath.

Download PNG