Skip to content
Backgrounds33 / 118

Gearworks

A living machine behind your content. Three depths of machined gears in dark graphite and steel on pure black (spoked wheels, discs with lightening holes, lathe-turned plates), every corner rounded, with soft quarter-round bevels, polished highlights and a brushed sheen. Every gear is placed tooth to tooth with its neighbour and turns at the true ratio of their tooth counts, so the whole wall is one working mechanism; far layers recede into black and near ones cast soft shadows on those behind. Every motion runs on soft springs, so the machine glides, gently overshoots and settles, never jolts. Your cursor is a work lamp that glides after it and rakes light across the metal while the layers drift in parallax, flicking it nudges the machine, a click spins it up as the lamp swells, and scrolling the page cranks the whole train (scroll up and it runs backwards). It idles slowly so it is never still, and spins up from rest on load.

WebGL2Real meshing gearsScroll is the crankReal bloomGSAPReduced-motion safe
Flick to spin the gearsClick to kick the machine

Tweak

LIVE

Colour

#6a6f77
#3c3f45
#9a9fa8
#f3f5f9
#000000

Machine

1.00
1.00
0.45

Motion

0.35

Interactive

Lamp follows the cursor, flicks and clicks spin the machine, scroll cranks it

Props

11 props
  • colors[string, string, string]
    The three metal tints (graphite, dark steel, light steel).default ["#6a6f77", "#3c3f45", "#9a9fa8"]
  • lightstring
    Colour of the work lamp.default "#f3f5f9"
  • backgroundstring
    Background colour.default "#000000"
  • scalenumber
    Gear size multiplier.default 1
  • speednumber
    Idle speed of the machine.default 1
  • focusnumber
    Calms the centre so a headline on top stays readable, 0 to 1.default 0.45
  • glownumber
    Strength of the bloom on metal highlights.default 0.35
  • interactiveboolean
    Lamp, torque, click kick and scroll crank.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the machine.
  • classNamestring
    Size it, e.g. h-screen w-full.