TINY ELDORET

BY DAVID AMUNGA

Eldoret and the highlands, one pixel at a time.

LIVE WEATHER · LOADING

Model estimate from Open-Meteo, not radar. Not for safety decisions.

ABOUT TINY NAIROBI

Tiny Nairobi is a pixel-art map of Nairobi and of the towns that are near Nairobi. David Amunga made the full map on one computer from open data.

You can find an area, zoom in to a building, and see the clouds and the rain.

1,630km² of map1.51 Mbuildings529place names17,845tiles

INSPIRATION

Inspired by Silicon Savannah and Rodi.

HOW IT WAS MADE (FOR NERDS)

  1. Area. A script calculated the map area from the Nairobi County boundary and a buffer of 2.5 km. The script also added 15 towns that are near Nairobi.
  2. Data. Scripts downloaded 1.51 million building outlines, the roads, the rivers, and the land use from Overture Maps. ESA WorldCover 2021 gave the land cover at 10 m. The Copernicus GLO-30 DEM gave the ground height at 30 m.
  3. Ground. A Python script made approximately 84,000 ground tiles at zoom 18 into pixel art. Each material has a small palette of 4 colors, for example roads, murram, grass, trees, and water.
  4. 3D scene. A three.js program in headless Chromium put the ground on the terrain. The program extruded the buildings with roofs and walls. The program also put a 3D tree at intervals of approximately 5.5 m in each tree area.
  5. Camera. An orthographic camera looks to the north-east at a tilt of 30 degrees. This camera gives a 2:1 isometric view. The renderer made 3,318 shots of 512 m by 512 m.
  6. Pixel art. Then a Python script made each shot into pixel art with a palette of 144 colors. The script added outlines at the edges of the buildings and the trees.
  7. Tiles. One more Python script cut the full image into a Deep Zoom pyramid of 17,845 WebP tiles. The full image is 159,744 pixels by 79,872 pixels. The renderer and the scripts used approximately 90 minutes for the full area on a MacBook Pro.
  8. Landmarks. A script made 72 iconic buildings from their OpenStreetMap footprints and 3D parts, for example KICC, Times Tower, and Britam Tower. The renderer then made the shots that show these buildings again.
  9. Live layers. The viewer draws the night lights, the traffic, and the main roads on top of the tiles. The position of the sun over Nairobi gives the time of day. Busy hours give more matatus on the roads.
  10. KTV. KTV is a news panel with pixel-art presenters and 6 channels: news, business, sports, technology, entertainment, and world news. A Cloudflare Worker gets the headlines from 22 public RSS feeds at intervals of 15 minutes. KTV shows each headline as the outlet wrote it, with a link to the story. On AUTO, KTV goes to the next channel after 3 stories.
  11. Viewer. OpenSeadragon shows the tiles in your browser. The area names are from OpenStreetMap through Overture Maps. A Cloudflare Worker gets the Open-Meteo weather data at intervals of 15 minutes. Cloudflare Pages sends the site to your browser.

KEYBOARD SHORTCUTS

Use the keyboard to find places, move the map, and show or remove the layers.

DISCLAIMER

Tiny Nairobi is an art project, not a survey map.

  • Do not use the map for navigation, for survey work, or for legal decisions.
  • The positions, the names, and the area boundaries can be incorrect.
  • Most building heights are estimates from the footprint area. The trees are from land cover data, not from the positions of each tree.
  • The weather is model data, not radar data. Do not use the weather data for safety decisions.
  • KTV is not a real TV station. The presenters are not real people.
  • The KTV headlines are from the news outlets. Tiny Nairobi does not write the headlines and does not examine them.
  • Tiny Nairobi has no connection to Nairobi City County, to the news outlets, or to the data sources.

DATA AND CREDITS

MADE BY

David Amunga, in Nairobi.

KEYBOARD SHORTCUTS

FIND

/⌘ K
Find a place
R
Go to a random place
L
Show the weather at your location

LAYERS

N
Show or remove the place names
W
Show or remove the weather
T
Select the time of day: automatic, night, or day
C
Show the map credits
K
Show or remove KTV, the news panel
[]
Go to the previous or the next KTV channel

MOVE

+−
Zoom in or out
←↑→↓
Move the map
H
Go back to the start view
M
Next city: Nairobi, Mombasa, Eldoret

PANELS

A
Show the About panel
?
Show this guide
ESC
Close a panel

The shortcuts stop while you write in the search box. On Windows and Linux, use Ctrl K for ⌘ K.

PRESS?FOR KEYBOARD SHORTCUTS
No map tiles yet. Render, pixelate and tile an area first.