A pulsar is a spinning neutron star: about one and a half times the Sun’s mass in a ball some 24 km across, with a magnetic field up to a trillion times stronger than Earth’s. A teaspoon of it would weigh about 2 billion tonnes, and the fastest known pulsar turns 716 times a second, about twice as fast as a kitchen blender’s blade. Beams of radiation from near its magnetic poles sweep around the sky as it turns, and if one crosses Earth we see a pulse once per turn. The first pulsar, found by Jocelyn Bell Burnell in 1967, pulsed so regularly that it was nicknamed LGM-1, for “Little Green Men”. This one is calculated live in your browser, following on from our ray-traced black hole.

A neutron star at the centre of its magnetic field: blue loops close back onto the star, gold lines reach outward and sweep back, a faint grey cylinder surrounds it, and green lines fan out from the poles
The fastest known pulsar, 716 turns per second. Blue lines close back onto the star; gold lines are open. The grey cylinder is the light cylinder; the green lines show the direction of the radio beam.

What you’re looking at

Animation vs. simulation

As with the black hole, nothing here is drawn to look a certain way. Three separate calculations produce the image and the plots beside it:

A lighthouse, but not quite

Most people picture a pulsar the way textbooks and science videos draw it: a star with two narrow searchlight beams sweeping around like a lighthouse. The simulator can draw that picture too, for comparison:

The textbook picture: two narrow, bright, straight beams reaching far out from the star along its magnetic axis
The textbook picture: two narrow, rigid searchlight beams. Not physical.

Here is where the light of a pulsar’s beam actually is at one instant, computed for the same star at the same scale:

The beam's light at one instant: two broad green spiral sheets winding outward from the star
The computed beam’s light at one instant. The small grey cylinder around the star is the light cylinder, 67 km in radius.

Is this to scale? Yes: the 12 km star, the 67 km light cylinder and the 420 km spiral are all drawn at true size. The spiral’s spacing is always 2π light-cylinder radii, because both depend only on the spin period. Only the fastest pulsars put the star and the spiral in the same picture. For the Crab pulsar one turn of the spiral is 10,000 km, and for a pulsar spinning once a second it is 300,000 km. At that scale the star would be far too small to see.

The “Beam light in flight” view shows the spiral forming. It spins faster than the other views so you can watch it being laid down.

Measuring a star you cannot see

No telescope can resolve a neutron star’s surface. What NASA’s NICER X-ray telescope records is how the brightness rises and falls as the hot spots rotate in and out of view. The more compact the star, the more its gravity bends light around it and the less its brightness varies. The faster its surface moves, the more lopsided the pulse becomes. Fitting both effects lets astronomers work out a star’s mass and radius separately. For the pulsar PSR J0437−4715 they find 1.42 suns and 11.4 km.

The simulator computes the same kind of curve, without the detailed atmosphere models and fitting a real analysis needs. Switch light bending off and the pulse becomes much deeper: in one example the brightness swings 78% either side of its mean instead of 38%.

Close-up of the neutron star with a latitude and longitude grid and a bright hot spot near the edge; the grid wraps around past the edge
With gravity bending the light, the grid wraps round the edge and 76% of the surface is in view at once.

Comparing against known results

Where to view it

Like the black hole, it runs on your device’s graphics card and works best on a laptop or desktop. You can pick a real pulsar from the list, including three that NICER has measured, the Crab and Vela pulsars, and a magnetar, or set the mass, size, spin and magnetic tilt yourself. Preset views include the beam as a cone or as light in flight, and a pulsar with aligned axes, which doesn’t pulse at all.

Built with Claude Opus 5.5

I built this with Claude Opus 5.5: the physics design, the GPU code, the test programs that check it, and the write-up. Every image and curve on the page comes from the simulator itself, and the method page lists the equations, the tests and the papers behind them.

The images are free to use, for teaching or anything else, with credit. Try it here.