Data as a creative material
4 minA live feed gives a piece something real to react to. You'll take one recorded day of Mumbai weather and map it to a sky people can read at a glance.
Lesson video
Tastebud · 3:42 · Captions on screen
Pick one live number, map it to one thing people can see, and label it so they can read it.
- Why. A piece that reacts to the real world proves it's live, because people can check it against the rain outside or the plane overhead.
- Real example. Amnet India wired a weather feed into McCain's monsoon ads. Rain triggered them, and the live temperature showed inside the ad. Click-through rate rose 200%. (McCain Foods India, Nov 2026)
- When to break it. A labelled replay of one real day can beat a live feed in a pitch, when today's data is dull or private. Say plainly that it's a replay.
- Common mistake. Mapping every field at once. Temperature, wind, humidity and rain each drive a different effect, and the viewer can't tell what the weather is.
Our take. Map one number so clearly that a stranger reads it in two seconds. A screen where every field drives its own effect looks busy, and nobody can tell it's live.
A mapping turns a number into something you see
A mapping takes a value from one range and places it in another, so 22 to 34 °C becomes blue to orange. Set the range from real readings, or the visual sits at one end all day.
Mumbai's 29 Nov 2026, mapped from 22 to 34 °C, spans most of the colour range
- 06:00, 23.2 °C. The coolest hour, near the blue end.
- 23:00, 27.1 °C. Late evening, halfway along, where the hue passes through green.
- 17:00, 29.9 °C. The windiest hour, 8.8 km/h, already cooling.
- 12:00, 32.8 °C. The hottest hour, near the orange end. With a 0 to 50 °C range, the whole day would sit in one narrow band.
One labelled mapping beats four effects
Each extra field mapped to an effect adds motion and takes away meaning. Keep the one number that proves the idea, and print it on screen so people can check it against the window.
- Temperature sets colour, wind sets speed
- Humidity blurs, rain shakes the screen
- No numbers anywhere
- A viewer sees motion and can't name the weather
- Temperature sets the sky colour
- The label reads 29.9 °C at 17:00
- Wind added only if it tells the story
- A viewer checks it against the sky outside
Two versions of this lesson's Mumbai weather lab.
Try it
Map a day of Mumbai weather to a sky
This lab plays back one recorded day of Mumbai weather, 29 Nov 2026, one reading per hour, so it runs anywhere. Temperature already sets the sky colour. Make wind set the speed of the streaks, then put both numbers in the label so a stranger can read them.
Tab adds two spaces. Press Esc, then Tab, to leave the editor.
- Temperature sets the sky colour (done)
- Wind sets the speed of the streaks (not yet)
- The label shows the temperature (not yet)
- The label shows the wind (not yet)
What to notice: Drag the hour. At 06:00 the sky is at its bluest (23.2 °C). With wind mapped, try map(wind[h], 0, 10, 0.5, 6): the streaks crawl at 09:00 (2.7 km/h) and race at 17:00 (8.8 km/h), and the label lets anyone check both.
Quick check
Your rain prototype for a delivery brand maps rainfall, wind, humidity and temperature to four effects. In the pitch, the client asks, "So is it raining?" What do you change?
Watch next
Watch it for The live data behind each board, and how fast the child has to point for people to believe it.
Watch it for How map() moves a value from one range into another, the same move the lab uses for temperature and wind.
Connects to: 4.2 Shapes, colour and input · 7.4 Sound as data · 14.2 Story first, demo second · 15.1 Is it feasible?
Sources · checked Nov 2026
- D&AD: Case Study, British Airways Magic of Flying (19 Nov 2014)OgilvyOne London for British Airways, six weeks from November 2013 at Piccadilly Circus; ADS-B antenna reading transponder data within 200 km; low latency platform; call sign database because transponder data has no destination; cloud height sensor switched boards off; a child stands and points; the ad showed each flight's origin; #lookup
- Social Samosa: Case Study, McCain Foods monsoon campaign with weather ads (15 Feb 2022)Amnet India (dentsu) with WeatherAds and a weather API; rain triggers with real-time temperature in the ads; 200% increase in click-through rate
- Open-Meteo Forecast API, Mumbai (19.076, 72.8777), 29 Nov 2026, hourly temperature_2m and wind_speed_10mThe 24 hourly readings in the lab: 23.2 °C low at 06:00, 32.8 °C high at 12:00, wind from 2.7 to 8.8 km/h peaking at 17:00
- Open-Meteo: Terms and PrivacyData under CC BY 4.0; the free API is for non-commercial use only, under 10,000 calls a day; commercial use needs a paid plan
- p5.js reference: map()map() re-maps a number from one range to another: map(value, start1, stop1, start2, stop2)
- p5.js releases on GitHubp5.js v2.4.0, released 12 Nov 2026