Home▸Game Development▸Oort Constants: Sky Map, Velocity Curves and the Least-Squares Fit of A and B (2D)

Oort Constants: Sky Map, Velocity Curves and the Least-Squares Fit of A and B (2D)

A top view of the disc around the Sun with the ring of stars, their radial and transverse velocity arrows and the sheared background stars, plus v_r(l) and v_t(l) curves with the Oort sinusoids and the least-squares estimates of A and B.

Game Development2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Oort Constants: Sky Map, Velocity Curves and the Least-Squares Fit of A and B (2D) ↗ Open standalone

A Blender spiral galaxy with the Sun at R0 and a ring of nearby stars. Each star is given the exact velocity of circular rotation V(R) = V0 (R/R0)^beta; its radial velocity v_r and transverse velocity v_t, and proper motion, follow the double waves v_r = A d sin 2l and v_t = d (A cos 2l + B) in the Oort limit. Add random motions and a least-squares fit recovers the Oort constants A = (V0/R0 - dV/dR)/2 and B = -(V0/R0 + dV/dR)/2 (Bovy 2017: A = 15.3, B = -11.9 km/s/kpc). Change the rotation-curve slope, R0, V0 and the ring size, see where the linear law fails, and verify the identities A - B = V0/R0 and kappa squared = -4B(A - B).

⚙ Under the hood

A top view of the disc around the Sun with the ring of stars, their radial and transverse velocity arrows and the sheared background stars, plus v_r(l) and v_t(l) curves with the Oort sinusoids and the least-squares estimates of A and B.

Oort ConstantsGalactic RotationDifferential RotationRadial VelocityProper MotionRotation CurveMilky WayLeast Squares Fit

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

What did you find?

Add reproduction steps (optional)