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
Labyrinth (4D)
Hypersphere marker look
Same generator as the "4D sphereHyperExample01" object; radius / n[0..2] control the marker's hypersphere shape.
Auto Rotation
While in Labyrinth mode only one rotation plane spins at a time; once its angle has changed by "Angle step" it randomly jumps to another plane (never straight to the reverse of the one that was just active). Uncheck to freeze it, or drive rotation manually via the Variables table / Rotation control buttons above instead.
Generate
Display
Game
Move the player hypersphere:
Keyboard: arrow keys = left/right/forward/back, Q/E = up/down, R/F = ana/kata (W axis).Viewing: drag the canvas (or use Variables / Rotation control buttons above) to rotate the maze - the exact same 4D rotation used for any object in Rotation mode.
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.