Splashery
Menger Sponge, a still.

Family VI, Math

Plate 96

Menger Sponge

A Menger sponge is a fractal.

Playground

Family
Math
Origin
Raised from a recipe
Habit
Diurnal: kept on the page
Voice
Yes, with the sound on
Hands-on
Yes
Licenses
Own work (made in the page)

How to play

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

Notes

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.

Its controls

ControlKindRangeStart
Close and carve the holesTap
CarveButton
LevelList2 choicesLevel 3

Details

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

Compare with