Skip to content
Components62 / 118

Drift Field

Fly through a field of your work. Image tiles float in deep space around a clear centre; the camera drifts forward, so each tile appears small in the distance, grows as it comes closer, slides out toward the edges and streaks with motion blur as it passes, endlessly. Scrolling pushes the flight faster (scroll back and it reverses), the cursor steers the view and the tile under it lifts.

Fly-throughThree.jsMotion blurScroll pushHeroGSAP
Steer with the cursorScroll to fly faster

Tweak

LIVE

Flight

1.6
1.0

Look

1.00

Props

7 props
  • tiles{ src?; draw?; aspect?; alt? }[]
    The tiles: images (any shape), or draw(ctx, w, h) to paint one.
  • speednumber
    Cruising speed.default 1.6
  • scrollBoostnumber
    How strongly page scrolling pushes the flight.default 1
  • blurnumber
    Motion blur on fast, close tiles (0 = off).default 1
  • childrenReactNode
    Optional content in the clear centre (a headline).
  • onSelect(tile, index) => void
    Called when a tile is clicked.
  • classNamestring
    Give it a height.