3D weather · Web demo · Open source
Pocket Pasture.
A hand-built miniature island where ten weather states play out for real. Orbit it through sunshine, storms, night and the seasons.
The story.
Weather apps turn weather into numbers and icons. This demo does the opposite: weather actually happens in front of you, clouds grow, rain really falls from the cloud base, lightning flashes inside the cloud before striking down, and snow stays on the roof for days.
Nothing on the island is faked with billboards: clouds are volumetric, rendered from density fields, and rain or snow spawns at real cloud-base coordinates sampled from those voxels. Your local clock drives dawn, dusk and lamplight; the local month drives the season, autumn leaves fall from actual tree-crown anchors, winter lays down snow (and a snowman), and the animals head for shelter in rain and at night.
It currently runs on demo data, with a clean window.PocketWeather API, wire any real weather source in and it becomes a real forecast. The whole project is open source under MIT.
How to use.
01
Orbit the island
Drag to orbit a full 360°, scroll to dolly in and out. Leave it idle and it drifts slowly on its own; one click resets the camera. The island is modeled on every side, so no angle runs out of detail.
02
Switch the weather
Pick from the menu of ten weather states. The storm is the showpiece: flashes ignite inside the cloud before branching 3D lightning strikes the ground, thunder optional.
03
Watch snow settle
Snow genuinely settles on roofs, ground and slopes, and it persists per city, come back the next day and it’s still there, melting away at 0.012 per hour.
04
Read the gauges
A frosted-glass weather card carries four live gauges, a clickable 3-day forecast and demo-city search. The UI toggles EN / 中文, and a clean window.PocketWeather API lets real data take over.
How it’s made.
The island was modeled and animated by hand, and the weather really plays out live in the page, no video tricks. It is open source under MIT, so you can orbit the code too.
- Status
- Live demo · demo data
- Weather
- 10 states
- Cycle
- Local clock + month
- License
- MIT
- Code
- Written by AI
The details.
Everything on the island is computed live — nothing is a video. Clouds are volumetric, rendered from density fields; rain and snow spawn at real cloud-base coordinates sampled from those voxels; lightning flashes inside the cloud before branching down to the ground. Snow settles on roofs and slopes and persists per city across days and reloads, melting at 0.012 per hour.
Your local clock drives dawn, dusk and the lamplight in the windows; the local month drives the season — autumn leaves fall from real tree-crown anchors, winter lays down snow and a snowman, and the animals head for shelter when it rains or gets dark. Ten weather states in all, from three grades of rain to fog, wind and a clear night.
Questions, answered.
Is Pocket Pasture free?
Yes — it is an open-source demo under MIT. Browse or fork the code on GitHub.
Can it show real weather?
Yes. The demo runs on sample data behind a clean window.PocketWeather API — wire in any real weather source and the island becomes a living forecast. That hook was the point of building it open-source.
What tells the island when it is day or night?
Your device’s local clock drives the sun, dawn, dusk and window lights; the local month picks the season. The island lives on your schedule.
Does it work on phones?
It runs in the browser: drag to orbit, scroll to zoom; arrow keys work as well on desktop.
Who made it?
Kevin Lee — an enterprise architect who builds small apps after dark: code written by AI, every product decision made by hand. Read more on the about page, or browse the rest of the work.