Resham Khanna San Francisco, CA

Aurora Simulator

A live aurora you can play with in the browser. You spin a globe, pick a spot in the far north or south, drop into the sky above it, and build the light yourself: its colors, the land below, and the moon.

You can open and try the project in a new tab.

Launch

Idea

I went to Alaska in 2024 to see the aurora. Photos actually capture it better than the naked human eye, because the cameras are better. It was a larger than life experience, and I carry very fond memories of that trip.

I’ve been fascinated by space science, and aurora science in particular. I wanted to build a simulator I could interact with, to recreate what I saw while learning more about the different factors that affect how an aurora looks.

Tools like this used to take real resources, someone to design it and someone to code it by hand, so most of it stayed stuck in research papers. Now one person can vibe code an educational tool like this, which is what makes it exciting to me.

Globe

It opens on a slowly turning Earth. 10 spots where people actually go to see the aurora are marked on it, in the far north and far south, from Tromsø and Fairbanks up top to Hobart and Lake Tekapo down below. Spin the globe, tap one, and a small card tells you where it is, the best time of year, and what its aurora usually looks like. Fairbanks is on there, the sky I actually stood under.

A slowly turning Earth in space, with green markers on spots to watch the aurora in the far north and south
The globe locked onto a chosen northern spot, speeding in just before the drop into the sky
Where you land: a green aurora over a mountain lake, with the controls to either side

Controls

The panel on the left holds the controls. From it you change:

  • its colors,
  • the ribbons of light: how many there are, how tall they stand, and how fast they move,
  • the land below, with 5 to choose from,
  • and the moon, which you can move up or down and change from full to a thin sliver.

Field notes

The panel on the right, Field Notes, explains the sky you just built in plain words, so you learn what is going on by playing instead of reading a manual. It was the part I most wanted to get right.

The control panel: color swatches, an intensity slider, and sliders for solar activity, ribbon count, and curtain height The Field Notes panel, explaining the sky you have built