Visible disk stars
Halo extent (translucent)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.
Real spiral galaxies rotate almost as fast at their edge as they do near the core — far faster than the visible stars and gas alone could explain by Keplerian gravity. This simulator renders a 3D galaxy of orbiting stars and computes each one's circular speed from the combined gravity of an exponential visible disk and an adjustable spherical dark-matter halo, plotting the resulting rotation curve live so you can toggle the halo and watch the curve change shape.