Skip to the galaxy
B.BRANDON FRANK HAN-CHWEEN HUANG← The playgroundMy account

01 / THE INVISIBLE UNIVERSE

What happens
without the halo?

Take the halo away, launch a tracer, and compare the orbits. See what changes when the starting positions and velocities stay the same but the gravitational field doesn’t.

TIME

Your browser does not support the galaxy canvas. The model curve and experiment descriptions remain available below.

DRAG TO ROTATE · TAP TO PLACE A TRACER

660 stars. One fixed gravitational field. The spiral is an initial arrangement, not a self-gravitating spiral galaxy.

SIMULATED TIME0.0
MEDIAN STAR RADIUS—
CIRCULAR SPEED AT r = 10—
Keyboard controls & viewing tips

Focus the galaxy, then use arrow keys to turn the view, + / − to zoom, Space to pause, L to launch, and R to restart. On touch screens, drag to rotate or tap to place a tracer. Tracers outside the current view still move; zoom out to follow them.

THREE WAYS IN

What do you
want to try?

THE MATH BEHIND THE MOTION

Same radius.
Different speed.

These lines show the circular speeds implied by the chosen model. The stars can leave circular orbits when you change the field.

Central mass onlyCurrent model

Illustrative circular speed versus radiusA calculated comparison of the current gravitational model and its central-mass-only component. These are not observed galaxy data.
What this model assumes

Here are the rules.

All distances, speeds, masses, and times are dimensionless. Stars are massless tracers in a fixed spherical potential. They do not pull on one another. There is no gas, cosmological expansion, collision physics, evolving halo, or disk mass model. The initial spiral is a visual arrangement; it winds up as the tracers orbit.

The purple glow illustrates the assumed halo. It is not a picture of detected dark matter. “Compare halo on / off” clones the current positions and velocities, then changes only the halo contribution in the comparison. It is a controlled illustration, not a cosmological prediction.

The force and the clock.

With softened radius s = √(x² + y² + z² + ε²), ε = 0.06, the potential is Φ = −M/(s + a) + (H/2) ln(s² + 4). Acceleration is −∇Φ. The displayed circular speed is √(−r·ar) in the midplane. The logarithmic halo extends indefinitely in this toy model, so the app does not classify stars as “escaped.”

A kick–drift–kick leapfrog advances stars in fixed 0.02-unit steps. Orbit probes use eight smaller substeps for close approaches. One real second at 1× advances one simulation unit when the browser keeps up. Slow or hidden tabs pause or slow the clock instead of making large jumps. Switching a mass component intentionally changes the energy at that instant.

The sandbox does not rerun the SPARC pilot, fit observed rotation curves, or provide new evidence for or against dark matter. Read the separate research writeup → · Explore the SPARC data →