Splashery.ContentsPlayground
Donut, a still.

Fig. 340. §20 Food

Donut

A frosted donut with sprinkles, built by the computer from a simple ring shape.

PlaygroundHow to play

1Facts

Shelf
Food
Kind
Generated shape
Sound
Yes
Licenses
CC0

2How to play

Tap it to break it apart and put it back together.

3About it

A frosted donut with sprinkles, built by the computer from a simple ring shape. To a mathematician, a ring like this is a torus. In topology, the math of shapes that can stretch but not tear, a donut and a coffee mug count as the same shape, because each has exactly one hole.

Tap it and it snaps into chunks that fly apart and tumble, showing the dough inside, while the sprinkles spray off. Then it all flies back together. The Make tab builds shapes like this from a shape, a palette and a seed.

4Sources and credits

5Share 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=donut
<script type="module" src="https://splashery.app/play/src/element.js"></script>
<splashery-toy toy="donut"></splashery-toy>

6Nearby