Splashery
4D Shapes, a still.

Playground

4D Shapes

A hypercube, or tesseract, is a cube in four dimensions.

Lane
6, Math
Kind
Built from a recipe
Sound
Yes
Licenses
Own work (made in the page)

How to play

Tap to turn it inside out. Try the 4D turn slider in the Splash tab.

Its controls

ControlKindRangeStart
Turn inside outTap
4D turnSlider0 to 100%85%
Turn inside outButton
ColorsList7 choicesBlue and pink

About it

A hypercube, or tesseract, is a cube in four dimensions. A square has 4 corners and a cube has 8; a tesseract has 16 corners and 32 edges, and its sides are 8 cubes. We can't see four dimensions, so this splash shows its shadow in our three: a cube inside a cube, with their corners joined.

At rest it rocks gently in 4D. Tap it to turn it once around through the fourth dimension: the pink inner cube swells out to become the outer one while the blue one folds inside, then it turns on back to where it started. Every edge stays perfectly straight the whole time. The 4D turn slider changes the strength of its gentle resting rotation, and Colors picks a theme.

Details

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

Nearby in the water