examples
Staging & Camera Control.
Use these features to frame the perfect shot for your model
Use the
camera-controls
attribute to enable user interaction
Set the
camera-orbit
change the initial angle and position of the camera
Use CSS-like
calc()
to sync camera orbit with scroll position
The camera automatically interpolates between orbits (even when controls are disabled)
By default, the camera targets the center of the model's bounding box
Use the
camera-target
attribute to orbit a different coordinate