Explore a zonotope tiling

The colored pieces are parallelepipeds that fit together to form a three-dimensional polytope, called a zonotope. Horizontal slices cut these pieces into triangles; the dual graph joins neighboring triangles.

This guide opens in a separate tab. Switch back to the visualization at any time.

Try this first

  1. Rotate: drag the picture. Scroll or pinch to zoom. On a touchscreen, drag with one finger to rotate and use two fingers to zoom or pan.
  2. Assemble the tiles: move tile gap to zero. Then increase it to pull the pieces apart. Slice triangles travel with their tiles.
  3. Look inside: choose a slice level k and click Show level k. Lower tile opacity to see it through the tiles.
  4. Inspect the graph: select Slice tiles to keep just the tiles meeting your slices, enable dual graph, and lower tile opacity. Return to All tiles to see the full polytope. Focus keeps the other tiles faintly visible.
  5. Compare levels: click the numbered slice buttons to turn individual levels on or off. Several can be visible together. Clear slices hides them all.

What the parameters mean

n is the number of generating vectors. Their endpoints form a regular polygon in the plane z = 1. Changing n creates a new tiling and hides all slices. The level k means height z = k before the drawing is centered and scaled; levels 0 and n are single points.

Aspect ratio stretches the vertical direction. Rotation speed starts a slow spin. In Advanced, change the tiling seed to get another tiling: the same n and seed reproduce the same tiling.

Reset camera brings the object back into view. Save default remembers your settings in this browser. It does not change anyone else's settings.

Keyboard shortcuts

KeyAction
0-9Toggle a slice level; use the numbered buttons for higher levels.
Shift + digitChange n (4-9; 0 means 10, 1 means 11).
G + scrollChange tile gap; scroll up to separate the tiles.
A + scrollChange aspect ratio; scroll up to make it taller.
E or OToggle solid tiles with saved outlines / saved opacity without outlines.
Space or RPause or resume rotation.
HHide or show controls.
?Show or hide shortcuts.

Shortcuts apply when you are not editing an input. For a presentation, set your preferences, click Save default, then press H to hide the controls.

Read the mathematical background.