Advanced physics
Earth
- Range
- —
- Max Height
- —
- Flight Time
- —
- Impact Speed
- —
- Bounces
- 0
Mars
- Range
- —
- Max Height
- —
- Flight Time
- —
- Impact Speed
- —
- Bounces
- 0
Moon
- Range
- —
- Max Height
- —
- Flight Time
- —
- Impact Speed
- —
- Bounces
- 0
How the engine works
Integrated with classical 4th-order Runge–Kutta (RK4) at a 10 ms timestep. Equations of motion:
F_gravity = -m · g · ŷ F_drag = -½ · ρ(h) · C_d · A · |v_rel| · v_rel where v_rel = v - v_wind F_magnus = ρ(h) · A · r · (ω × v_rel) (out-of-page spin) a = (F_gravity + F_drag + F_magnus) / m ρ(h) = ρ₀ · exp(-h / H) (isothermal atmosphere)
On the Moon, ρ = 0, so drag and Magnus vanish and the trajectory reduces to the ideal parabola. On Mars, the atmosphere is thin enough that heavy dense projectiles barely notice it.