Optimal width for 3D viewing
Stereo3D - 3D Stereogram Platonic Solids Viewer

Welcome to Stereo3D, a real-time 3D stereogram viewer that displays rotating wireframe Platonic solids using the parallel stereogram technique. View true 3D without special glasses!

This application was built with Rust and the Macroquad game engine, creating a smooth, interactive 3D stereogram experience that works right in your web browser.

How Stereograms Work:
A stereogram creates a 3D illusion by presenting slightly different images to each eye. This app renders the same 3D Platonic solid from two camera positions (left and right eye), separated by a configurable distance. When viewed correctly, your brain merges these two images into a single 3D scene.

Animation Controls:
SPACE: Toggle pause/resume animation

Viewing Adjustments:
LEFT/RIGHT Arrow: Adjust eye separation (0.01 to 0.20)
UP/DOWN Arrow: Adjust perspective distance and cube scale (2.0 to 20.0)

Display Options:
S: Cycle through Platonic solids (Tetrahedron → Cube → Octahedron → Dodecahedron → Icosahedron)
G: Toggle fusion guides (red circles)
C: Toggle depth-based wireframe coloring
B: Toggle between black/white backgrounds
O: Toggle orthographic/perspective projection
T: Toggle all on-screen text and UI elements

How to View the Stereogram:
1. Start close to the screen (12-18 inches) for easier initial fusion
2. Relax your eyes and look "through" the screen (like looking into the distance)
3. Focus on the red guide circles at the top of each view
4. Let your eyes merge the two images - you should see three shapes
5. Focus on the center shape - this is your 3D stereogram!
6. Once fused, slowly move your head back to 2-3 feet to maintain the 3D effect

Tips for easier fusion:
• Start with the default settings
• Use the red guide circles as a target
• Start close (12-18 inches) for easier initial fusion
• Once fused, move back to 2-3 feet to maintain the effect
• Adjust eye separation if needed (LEFT/RIGHT arrows)
• Try different perspective distances (UP/DOWN arrows)
• Practice with the pause feature (SPACE) to hold still images

The wireframe rendering includes depth-based coloring where closer wires appear brighter and farther wires appear darker, helping your brain understand the 3D structure.

Platonic Solids:
Tetrahedron: 4 triangular faces, simplest 3D solid
Cube: 6 square faces, most familiar solid
Octahedron: 8 triangular faces, dual of the cube
Dodecahedron: 12 pentagonal faces, golden ratio proportions
Icosahedron: 20 triangular faces, dual of the dodecahedron

Projection Modes:
Perspective (default): Traditional 3D view with realistic depth perspective
Orthographic: Parallel projection with no perspective distortion - can be easier to fuse and shows geometric relationships more clearly

Optimal Viewing:
The app is designed with a narrow viewing area (440px width) that's optimal for stereogram fusion. This width provides the perfect balance between image separation and ease of merging.

I built this application with Cursor an AI Code Editor, the Rust language and the Macroquad Game Engine

Created by David Maynard
View open source code on GitHub