Motion Fundamentals

Parallax & spatial depth

Also searched as: parallax, spatial depth, 2.5D depth, multi-plane motion, depth layering

Canonical Definition

Parallax is the visual phenomenon where objects closer to the camera appear to move faster across the field of view than distant objects, creating an illusion of true 3D spatial depth.

Duration

Continuous throughout camera move

Disney's multi-plane camera in the 1930s was the pioneer of visual parallax. In modern digital motion design, 2.5D parallax elevates flat UI comps into deep, immersive spaces.

By separating background gradients, middle UI cards, and foreground cursors or annotations onto distinct Z-planes with different velocity multipliers, the viewer perceives physical space.

Camera Parallax Dives

Plunging through layered UI planes at differentiated speeds

As the virtual camera pushes forward, floating cards in the foreground rush past the lens while background grids barely drift.

Catalog Implementation/Parallax Device Dive
componentcameraInspect in catalog
531 lines of React

How this works: A deep parallax camera dive through multiple floating interface planes.

  • Distinct speed coefficients: Foreground (1.8x), Middle (1.0x), Background (0.3x)
  • Optical blur applied to extreme foreground layers
  • Produces three-dimensional immersion from 2D vector assets

Engineering Guidelines & Common Pitfalls

Best Practices (What to do)

  • Pair spatial parallax with subtle depth of field (blur foreground and background extremes slightly).

Common Failure Modes (What to avoid)

  • Inverting parallax speeds: if the background moves faster than the foreground, the human brain rejects the spatial illusion.
Generate with AI

Build parallax & spatial depth in Animatiq

Prompt our motion agent in natural language. Get back typed Remotion React code with custom easing curves, brand palettes, and frame-accurate timing.

Launch in composer

Related motion principles