Camera Controls
Navigate the 3D space using your mouse, touch, or a supported headset:
- Left Mouse Button + Drag: Orbit around the scene
- Right Mouse Button + Drag: Pan the view
- Middle Mouse Button + Drag: Pan the view
- Mouse Wheel: Zoom in and out
WebXR
Photonic can hand the current module over to immersive WebXR. The module's default camera pose becomes your initial head position, and then the headset controls view direction and room-scale movement from there. Apple Vision Pro and Meta Quest are the main targets for this first pass.
Checking whether immersive WebXR is available for this browser…
API Access
The Photonic API is available through the browser console via window.Photonic.
Try creating objects programmatically:
Photonic.createBox({color: 0xff0000})- Create a red boxPhotonic.createArrow({color: 0x00ff00})- Create a green arrowPhotonic.clearObjects()- Clear all objects from the scene