SplasheryPlayground
Menger Sponge, standing in a box with a red wall and a green wall.

Please do not tap the glass.

Menger Sponge

A Menger sponge is a fractal.

Open in the PlaygroundHow to play

The facts

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

How to play, in the Playground

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

Its controls

ControlKindRangeStart
Close and carve the holesTap
CarveButton
LevelList2 choicesLevel 3

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

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

Nearby in the collection