Splashery.ContentsPlayground
Rainbow, a still.

Fig. 325. §19 Weather & Fire

Rainbow

A rainbow appears when sunlight shines into falling raindrops.

PlaygroundHow to play

1Facts

Shelf
Weather & Fire
Kind
Built from a recipe
Sound
Yes
Licenses
Own work (made in the page)

2How to play

Tap it to draw the rainbow again, color by color.

3Its controls

Table I. Every control on this Splash.

ControlKindRangeStart
Draw the rainbowTap
DrawButton

4About it

A rainbow appears when sunlight shines into falling raindrops. Each drop bends the light, splits it into its colors and bounces it back out, so you see a rainbow when the Sun is behind you and rain is in front. Its colors always go in the same order: red on the outside, then orange, yellow, green, blue and violet on the inside.

Tap it and the arc blinks away, then draws itself again color by color, red first, each band sweeping from one cloud to the other behind a bright little pen. Then sparkles burst from both clouds. Seen from a plane, a rainbow can be a whole circle.

5Details

Splats
Opens at 200,000 at Mid Detail, 48,921 at Low, and up to 1,000,000 at Max

6Sources and credits

Made in Splashery. Its code is MIT.

7Share it

This link opens it in the Playground. To put it on your own page, add the element and one script tag. Every option.

https://splashery.app/play/?toy=rainbow
<script type="module" src="https://splashery.app/play/src/element.js"></script>
<splashery-toy toy="rainbow"></splashery-toy>

8Nearby