Orbit control uses mouse or touch input to adjust camera orientation in a 3D sketch. To rotate the camera, left click and drag a mouse or swipe on a touch screen. To pan the camera, right click and drag a mouse or swipe with multiple fingers on a touch screen. To move the camera closer or further to the center of the sketch, use the scroll wheel on a mouse or pinch in/out on a touch screen.
Related Examples

No alt text
Geometries
Draw 3D shapes, including a custom model.

No alt text
Custom Geometry
Generate a 3D shape programmatically.

No alt text
Materials
Change 3D objects' color, texture, and how they respond to light.

No alt text
Orbit Control
Control the camera with the mouse.

No alt text
Filter Shader
Manipulate imagery with a shader.

No alt text
Adjusting Positions with a Shader
Use a shader to adjust shape vertices.

No alt text
Framebuffer Blur
Simulate a camera's depth of field.