Clockwork wallpaper generator
A train of spur gears that really mesh: each one is sized in whole teeth, set at the exact distance from its neighbour, and turned so tooth meets gap.
Presets
Sample wallpapers
Full-size PNGs rendered by the same code as the studio. Open one to download it.
Parameters
| Key | Label | Values | Default |
|---|---|---|---|
bg | Background | hex colour | #101215 |
ink | Gears | hex colour | #d8d4cc |
accent | Driver | hex colour | #e2a33b |
gears | Gears | 2 to 24 | 9 |
module | Tooth size | 0.4 to 2.5 | 1 |
style | Drawing | line · solid | line |
spokes | Spoked wheels | on / off | true |
seed | Seed | integer | 8 |
background.trueBlack | True black (OLED) | on / off | false |
text.none | No text | on / off | true |
text.line1 | Quote line 1 | text | Every tooth turns *another*. |
text.line2 | Quote line 2 | text | |
text.paragraph | Paragraph | multi-line text | |
text.position | Position | center · upper · lower · top-left · top-right · bottom-left · bottom-right | bottom-left |
text.font | Font | serif · display · sans · grotesk · mono · hindi | mono |
text.size | Text size | 1.5 to 16 | 3 |
text.color | Text colour | hex colour | #d8d4cc |
Clockwork, explained
About this look
Clockwork draws a gear train, the chain of toothed wheels that carries motion through a clock, a watch or any small machine. I wanted every pair here to actually mesh, so the drawing follows the same basic rules a machinist would.
The look borrows from two places: the exposed movement of a mechanical watch, with large spoked wheels and small solid pinions, and the line work of technical drawings, where each gear's pitch circle is shown as a faint dashed ring.
How it works
Everything is sized from one number, the tooth size, which engineers call the module. A gear's pitch radius is the module times its tooth count divided by two, and two gears mesh when their centres are exactly the sum of their pitch radii apart. Tooth counts come from a fixed list between 12 and 60. Each tooth is a trapezoid that reaches one module beyond the pitch circle and dips one and a quarter modules below it, the standard proportions for spur gears. The tooth shape is simplified, though: real gear teeth have curved involute flanks.
The first gear, the driver, has at least 28 teeth, sits near the middle of the screen and is drawn in the Driver colour. Each new gear picks a parent, usually one of the most recently placed, so the train winds across the screen rather than clustering. It is set at a random angle around that parent at the exact meshing distance, then rejected if its centre would land too far off screen or if it would come too close to any other gear. A gear that passes is rotated so that a gap faces the parent's tooth at the point of contact, taking the gear ratio into account.
Wheels with 28 or more teeth get a rim, a hub and five spokes, or six from 48 teeth up, when Spoked wheels is on. Smaller pinions just get a hub and axle. In Line mode the gears are outlines and the dashed pitch circles are shown. In Solid mode the gears are filled and the windows between spokes are cut out with the background colour.
Settings explained
- Gears
- How many gears to try to place, from 2 to 24. The code makes a limited number of attempts, so with a big tooth size on a small screen you may get fewer than you asked for.
- Tooth size
- The module. Small values give fine, watch-like teeth and let many gears fit; large values give chunky industrial wheels.
- Drawing
- Line or Solid. Line feels like a technical drawing; Solid reads more like brass parts under a loupe.
- Spoked wheels
- Adds rims and spokes to the larger wheels. Turn it off for plain discs.
Best for
Desktop screens show off long trains with many gears, as in Watch movement, which packs 20 small-toothed wheels onto a dark blue dial. On a phone, fewer and larger gears read better among app icons; Two gears is the extreme case, two big white wheels on black. Escapement is the default amber driver on charcoal, Brass (solid) uses filled bronze tones, and Drafting (light) draws dark grey lines with a red driver on cream.
For OLED screens, the True black (OLED) toggle makes the background pure black.
FAQ
Would these gears actually turn together?
Each new gear is placed at the exact meshing distance from its parent and rotated so tooth meets gap, and other gears are kept clear of it, so each parent and child pair is set up to mesh. The teeth are simplified trapezoids rather than true involute curves.
Why do I get fewer gears than the slider says?
Placement gives up after a fixed number of attempts. Large gears and a small screen both reduce how many fit, because each new gear must stay mostly on screen and clear of the others. Lower Tooth size or try another seed.
Does the quote cover the gears?
Gears are masked out behind the quote, so the text sits in a clean gap. The quote is off by default; turn off No text to show it.
Related looks
More generators to try, or see all 37.
Impasto
A palette-knife oil painting: thick, angular strokes that follow the form, with lit ridges and cast shadows.
Nebula
Glowing clouds of gas in deep space, with a starfield of small and bright stars and an optional bright core. Works on tall phones and wide monitors alike.
Frutiger Aero
The glossy look of mid-2000s screens: a bright sky gradient, shiny see-through bubbles, soft light rays and a curve of water or grass.
Cutting Mat
A drafting cutting mat: bold or fine grid, + marks or dots, angled guides and arcs, edge ticks and numbers, with clear zones kept around your quote.
Mesh Gradient
Soft multi-colour mesh gradient made of blurred colour fields, finished with film grain.
Topographic
Contour lines traced from a seeded noise field, with optional two-tone index contours.


