Splashery.ContentsPlayground
Menger Sponge, a still.

Fig. 96. §6 Math

Menger Sponge

A Menger sponge is a fractal.

PlaygroundHow to play

1Facts

Shelf
Math
Kind
Built from a recipe
Sound
Yes
Hands-on
Yes
Licenses
Own work (made in the page)

2How to play

Tap to close and carve the holes. Hands-on: pull the small cubes out one by one.

3Its controls

Table I. Every control on this Splash.

ControlKindRangeStart
Close and carve the holesTap
CarveButton
LevelList2 choicesLevel 3

4About it

A Menger sponge is a fractal. Start with a cube and cut it into 27 smaller cubes, like a puzzle cube. Take out the one in the middle and the six at the middle of each face, leaving 20. Then do the same to each of those 20 cubes, and again, forever. Karl Menger described it in 1926.

Tap it and every hole is plugged, the smallest first, until it is a plain cube. Then it is carved again: the big cubes slide out of the faces, then the next size down, then the smallest. Pick level 2 or 3 in the Splash tab: level 2 keeps 400 little cubes, and level 3 keeps 8,000.

5Details

Splats
Opens at 200,000 at Mid Detail, 59,998 at Low, and up to 999,983 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=menger-sponge
<script type="module" src="https://splashery.app/play/src/element.js"></script>
<splashery-toy toy="menger-sponge"></splashery-toy>

8Nearby