Skip to content
Backgrounds22 / 118

Survey Map

A monochrome city drawn in fine lines on black, generated entirely in code: districts on their own street grids, highways sweeping through, a river cutting across, all under a surveyor's grid with compass letters and a scale bar. Grid squares develop into bright aerial views of the city under your cursor and fade back behind it, a click sends a survey pulse developing squares as it ripples out, and scrolling pans across the city. When idle, squares develop on their own.

WebGLProcedural cityCursor revealClick pulseGSAPReduced-motion safe
Develop the squaresClick for a pulse

Tweak

LIVE

Colour

#e8e8e6
#000000

Map

105px
1.00
1.00

Motion

1.00
1.00

Labels

Compass letters and scale bar

Interactive

Squares develop under the cursor, clicks send a pulse

Props

12 props
  • inkstring
    Colour of the lines and the developed squares.default "#e8e8e6"
  • backgroundstring
    Background colour.default "#000000"
  • cellnumber
    Size of a grid square, in px at 1000px tall (scales with the height).default 105
  • densitynumber
    How busy the city is.default 1
  • intensitynumber
    Brightness of the developed squares.default 1
  • activitynumber
    How often squares develop on their own.default 1
  • speednumber
    Speed of the drift.default 1
  • labelsboolean
    Show the compass letters and scale bar.default true
  • interactiveboolean
    Cursor reveal, click pulse.default true
  • scrollerElement | null
    Scroll container, if the page does not scroll the window.
  • childrenReactNode
    Foreground content, drawn above the map.
  • classNamestring
    Size it, e.g. h-screen w-full.