Painted choropleth map
Painted choropleth map preview
Scene

Painted choropleth map

@opus-motion-library/painted-choropleth

From Opus Motion Library

A painted island map: the coastline is brushed in, then regions fill with quantised watercolour bands (wobbly wash edges, three-pass look) driven by station data; the field can morph through time (e.g. 50 Ma to today) with a radial fill reveal, a huge serif year label and a band legend.

Install

node cli/mgl.mjs add painted-choropleth --to <your-project>/src

When to use

Good for
Climate / data stories in a warm editorial look; election or survey maps for softer brands; "how X spread" maps. Pass your own `stations` and bands.

Specs

Length
270f · 9s
Length type
Fixed
FPS
30
Style
3d, nature, hud, editorial
License
MIT

Props (16)

  • titlestring= "Annual rainfall"

    title text

  • subtitlestring= "a painted field map"

    italic line under the title

  • unitstring= "mm"

    unit appended to legend values

  • bandsarray= [150,300,650,1150,2000,4000]

    ascending thresholds; band k starts at bands[k]

  • colorsarray= ["#CF7C4F","#CDA35F","#B3B07A","#7F9A6C","#46705A","#2F5A45"]

    band colours (same length as bands)

  • stationsarray= []

    [{x (0-1000), y (0-700), value}] data points; empty = built-in demo field

  • timeKeysarray= [[90,0.25],[225,1]]

    [[frame, multiplier]] the field is scaled by this multiplier over time

  • yearFromnumber= 50

    label number at the first time key

  • yearTonumber= 0

    label number at the last time key

  • yearUnitstring= "Ma"

    label unit (e.g. Ma, AD, years)

  • finalLabelstring= "Today"

    label shown once the morph ends ("" = keep number)

  • revealstring= "radial"

    'radial' fill reveal or 'coast'

  • passesnumber= 2

    wash passes 1-3 (more = softer, slower)

  • backgroundstring= "#F3EDE0"

    paper colour

  • inkstring= "#3A3226"

    ink colour

  • seednumber= 11

    island + wash seed

Categories