Splashery
Playground
Rainbow, a still.

22. Weather & FireNo. 22.09

Rainbow

A rainbow appears when sunlight shines into falling raindrops.

Playground

Handling

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

Its tag

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

On the wall it weighs 6.6 KB: 510 splats, fitted to pictures of the full Splash, which opens with 640,007.

Its controls

ControlKindRangeStart
Draw the rainbowTap
DrawButton

About 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.

Details

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

Sources and credits

Made in Splashery. Its code is MIT.

Share 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>

Nearby in the collection