Mode

Rotation mode shows/rotates a single object (below). Labyrinth mode shows/rotates the 4D maze. Both use the same drag-to-rotate view and the same Variables / Rotation buttons / View & layout / Global controls panels.

Object parameters

Destination & style

Gesture settings

Drag on canvas to rotate angles that have Gesture = ON.

Scan settings

Scan 3D type:
Scan 4D type:
distance3D / distance4D variables are used as cutting plane/volume positions (d for 4D).

Global controls

Multiple variable

Multiple uses each variable's own speed.

Variables (rotation, scan, multiple)

Label Plane / meaning Angle / value Speed On Gesture Sel

Rotation control buttons

View & layout

About
This is an HTML/JS translation of the Swift N‑dimensional geometry project, including 3D and 4D objects (lines, parallelepipeds, spheres, plots, saddle, tetrahedra) with rotation, scanning, stereo, and multiple-variable control.

Modes (switch at the top of the settings panel):
- Rotation: pick any object (any dimension) and rotate it.
- Labyrinth: a 4D maze - walls are hypercubes (built from the "parallelepiped 4D" generator), the player/target are hyperspheres. It uses the exact same rotation engine as Rotation mode: drag the canvas, or use the Variables / Rotation buttons panels, to view the maze from any angle in 4D, exactly like rotating any other object in this app.