Home▸Nature & Climate▸2D Aurora Borealis: Solar Wind & Magnetic Field Lines

2D Aurora Borealis: Solar Wind & Magnetic Field Lines

2D cross-section simulation of the aurora borealis: charged solar-wind particles spiral along Earth's magnetic field lines toward the polar atmosphere, colliding with oxygen and nitrogen to paint a flowing green, red and purple curtain of light.

Nature & Climate2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-aurora-borealis ↗ Open standalone

This is the cross-section companion to the 3D aurora simulator: instead of an orbitable night-sky scene, it draws Earth's curved magnetic field lines edge-on and streams charged solar-wind particles along them toward the polar upper atmosphere. Where the particles collide with oxygen and nitrogen, a flowing green-red-purple curtain of light builds up in real time. Drag the solar wind intensity, magnetic latitude and gas-mix sliders to see how a geomagnetic storm widens and brightens the auroral oval, and how the two dominant atmospheric gases each contribute their own color band to the display.

⚙ Under the hood

2D cross-section simulation of the aurora borealis, streaming charged solar-wind particles along Earth's magnetic field lines into the polar atmosphere where they collide with oxygen and nitrogen to build a flowing green, red and purple curtain of light.

natureaurora borealissolar windmagnetospherespace weatheratmospheric optics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)