Orbit gallery

Tiles drifting past the front of a shallow 3D ring.

0:00 / 0:01

Customize

430
0.45
8

Installation

pnpm odori add component orbit-gallery

Edit the source in videos/components/orbit-gallery/. Use odori diff to compare upstream changes and odori update to apply updates.

Timing contract

Use these durations and content limits when composing a scene. Run odori test to check your video.

Family
Media
Recommended duration
240 frames · 8s
Minimum duration
90 frames · 3s
Entrance
0 frames
Exit
0 frames
Reduced motion
the ring holds still with one tile at the front
Requires
Odori
Content limits
children ≤ 8

Props

PropTypeDefaultRequired
childrenThe tiles on the ring. Four to eight reads best.ReactNode——
radiusRing radius in design pixels.number430—
speedRotation in degrees per frame. Slow is the point.number0.45—
tiltCamera tilt in degrees, looking slightly down onto the ring.number8—

Related components

All components