Camera
Perspective or orthographic, a target to look at, and eight move presets.
camera is the default camera: where it is, what it looks at, and its lens. For an edit with cuts, use shots.

{
"camera": {
"position": [0, 1.2, 7],
"target": [0, 0.5, 0],
"fov": 38,
"move": { "preset": "orbit", "easing": "linear" }
},
"lighting": { "rig": "three_point" },
"environment": {
"background": {
"radial_gradient": { "inner": "#1b2233", "outer": "#07090f" }
}
},
"materials": { "floor": { "preset": "matte_clay", "color": "#2a2f3a" } },
"nodes": {
"floor": {
"mesh": {
"geometry": { "plane": { "size": [30, 30] } },
"material": "floor"
},
"transform": { "rotation": [-90, 0, 0] }
},
"hero": {
"transform": { "position": [0, 0.9, 0] },
"mesh": {
"geometry": { "torus_knot": { "radius": 0.7, "tube": 0.24 } },
"material": "preset:gold"
}
}
},
"timeline": { "duration": 4, "loop": "loop" }
}apps/docs/examples/camera.json · render it with motion-sdk render apps/docs/examples/camera.json -t 1 -o camera.pngLens
fov: vertical field of view in degrees. 15 to 30 is a long lens, 50+ is wide.projection:perspective, ororthographicwithortho_heightfor flat 2D and isometric looks.nearandfar: clip distances.
Moves
move plays a preset over the timeline: orbit, arc, dolly_in, dolly_out, crane_up, dolly_zoom, handheld_drift and reveal_spin. amount scales it, easing times it, and start and duration limit it to part of the timeline.
Animating the Camera
Tracks can target "$camera" with position, look_at and fov. Don't combine camera tracks with shots: shots win, and the validator warns.
API Reference
Camera
The scene camera.
| Property | Type | Default | Description |
|---|---|---|---|
| far | number | 200 | Far clip distance. Anything further away isn't drawn. |
| fov | number (1 to 179) | 40 | Vertical field of view in degrees (perspective only). |
| move | CameraMove | — | Optional cinematic move layered on top of the base pose. |
| near | number (≥ 0.0001) | 0.1 | Near clip distance. Anything closer isn't drawn. |
| ortho_height | number (≥ 0.001) | 5 | Visible height in world units (orthographic only). |
| position | [x, y, z] | [0,0,6] | Camera position in world units. |
| projection | Projection | "perspective" | perspective or orthographic. |
| target | [x, y, z] | [0,0,0] | Point the camera looks at. |
Projection
| Value | Description |
|---|---|
| "perspective" | |
| "orthographic" |
CameraMove
A parametric camera move evaluated deterministically over time.
| Property | Type | Default | Description |
|---|---|---|---|
| amount | number (0 to 10) | 1 | Strength of the move (1 = tuned default). For orbit it is the number of full turns (rounded, at least 1) so loops stay seamless; for the other presets it scales distance/angle. |
| duration | number (≥ 0) | — | Duration in seconds. Defaults to the timeline duration. |
| easing | Easing | "ease_in_out_sine" | Timing curve of the move over the timeline. |
| preset* | CameraMovePreset | required | Which move to play. |
| start | number (≥ 0) | 0 | Start time in seconds. |
CameraMovePreset
Tuned cinematic camera moves.
| Value | Description |
|---|---|
| "orbit" | Full 360 degree orbit around the target (seamless when looping). |
| "arc" | Gentle partial orbit back and forth. |
| "dolly_in" | Move toward the target. |
| "dolly_out" | Move away from the target. |
| "crane_up" | Rise up while keeping the target framed. |
| "dolly_zoom" | Dolly in while widening FOV (vertigo effect). |
| "handheld_drift" | Subtle seeded handheld drift. |
| "reveal_spin" | Fast spin-in reveal that settles on the base pose. |