Oozy maps
I built an interactive tool that makes map projections squirm.
See oozy maps to make your own.
As of now (late 2026), the landing page of this site has a "writhing" map projection that I had a lot of fun building in D3 (with some pretty extreme help from AI). I love map projections, but they're tragically very static, and I wanted to make them more interesting.
The Goode homolosine projection is how the Earth would look if you peeled it like an orange and laid it flat.
That map only drifts a little bit, but after making it, I became fascinated with how trippy this could look with more intense perturbations or on other map projections. See a little more about my obsession with map projections here.
This first release of oozy maps allows a bunch of other stuff to drift and squirm, lets you change colors and save short movies, and it works on 58 different map projections. Here are some fun examples.
I'm fairly new to interactive graphics and animations, so it was cool to understand how to actually get these working.
What's actually happening
Like any animation, each oozy map is a series of drawings put together like a flipbook. The browser draws a still projection of the map, nudges everything a tiny bit, and draws it again. When it does this fast enough, the map looks like it's moving. On the live site, that happens every time the screen refreshes, usually 60 times a second for ordinary monitors and older phones, and 90–120 times a second or more for newer hardware.
Just before each refresh, the browser runs the JavaScript code that animates the map and hands back the current time. The code works out how much time has passed since the last frame, figures out where the globe and the waves should be at this new time, and draws them there. The videos in the carousel above are 8-second loops, running at 20 pictures a second, for a total of 160 frames each.
Every frame starts from the same plain map data: the outlines of the continents, about 5,000 points in all, plus the lines of latitude and longitude. That data never changes, so each frame works out from scratch where every point should be at that moment, based on time and how much coastlines and meridians/parallels should migrate.
Two things move. First, the globe slowly turns inside the map's outline, so different parts of the world drift past. Second, a pattern of waves pushes each point around a little. The waves are pinned to the screen, so they don't travel across the map; they just swell and change shape slowly where they are. The globe turns over them like a skin, so a coastline changes shape as it passes through.
There are other ways to do this. At first I pinned the waves to the globe itself, so they rode along with the land as it turned. But then the land barely changed shape, and some maps looked like plain spinning globes, so I pinned the waves to the screen instead.
Both motions come from noise, which is a math term here, not a sound. It's a smooth, random-looking pattern called simplex noise, a newer version of the Perlin noise used in computer graphics for clouds and terrain. You can ask it for a value at any place and any time. Nearby places and nearby moments (in time) get similar values, so the motion flows instead of jumping around. A random seed number sets the pattern. The same seed always gives the same animation, so a shared link plays back exactly.
Two kinds of noise, shown as contours and slowly moving through time. Perlin noise (left) is built on a hidden square grid, and its bumps tend to line up with it. Simplex noise (right) uses triangles instead, so it looks more even in every direction.
For each frame the steps are: read the time, ask the noise which way to turn the globe, turn it, flatten it with the chosen projection, ask the noise how far to push each point, push all of those points, and draw. The colors follow the same rules: they're painted onto the globe, so they turn and wobble along with the land.
Things that went wrong
I started building this in early 2026, and it took me nearly a year to get back to it after some lingering issues that were hard to fix.
Earlier versions jittered a lot. Some layers of the noise changed faster than a screen could show, so the map seemed to twitch instead of drift. The fix was to drop those faster-changing layers and add animation that made it ease toward the new spot like a spring, rather than snapping to it. The "jitter" slider shows some of this.
Big enough waves also made continents misbehave. As land masses drifted across cuts in the projection (like the orange peel gaps in the Goode homolosine), a strong wave could push coastline points across them, and the land would streak across the gap in long, jagged, fractured spikes. The fix was to make sure no point can move too far on screen, and points pushed past the left or right edge of the map slide along it instead of jumping across.
Some maps also escaped their frames. The Lambert conformal conic fan tilted with the globe as it turned and swung off the edge of the canvas. Now, the outline stays still and only the globe inside it moves.
Making the videos loop seamlessly took work too; the last frame has to lead straight back into the first, but the noise never repeats itself. So for the videos, the globe follows a closed loop through the noise, and the waves blend back to where they started.
The code is on GitHub here.