Controls
Presets
Parameters
Model checks
The science
Ballistics without air. A ball leaves the foot with speed v at angle θ from height h0. With constant gravity g and no air: x = v cosθ t, y = h0 + v sinθ t − g t²/2. The flight time is T = [v sinθ + √((v sinθ)² + 2 g h0)]/g, the range R = v cosθ T and the highest point h0 + (v sinθ)²/(2g). For h0 = 0 the range v² sin 2θ/g is largest at 45°. Everything scales with 1/g: with the same kick the ball stays up about six times longer and goes about six times farther and higher on the Moon.
Moon gravity. g = GM/R² with GM = 4.9028×1012 m³/s² and R = 1737.4 km gives 1.624 m/s², about 1/6.04 of Earth's 9.80665 m/s² (the usual quoted value is 1.62). The Moon has no atmosphere, so there is no drag.
Air drag on Earth. The pink ghost ball feels the quadratic drag F = ½ ρ Cd A v² with ρ = 1.225 kg/m³ (sea level) and a drag coefficient Cd = 0.25 for a smooth ball; the equation of motion is integrated with RK4. Drag shortens the flight, lowers the best angle below 45° and makes light, large balls much worse than heavy, small ones; a freely falling ball reaches a terminal speed √(2mg/(ρ Cd A)).
What the five checks compare. (1) A time-stepped flight against the closed-form range, hang time and apex at ten launch cases. (2) Conservation of the specific energy v²/2 − GM/r along an RK4 trajectory on a spherical Moon. (3) Air drag: terminal speed from a time-stepped fall against √(mg/k), the drag range below the vacuum range, and a very heavy ball recovering the vacuum range. (4) The flat-ground formula against an RK4 orbit on a curved Moon with inverse-square gravity (the two agree to about range/radius). (5) g = GM/R² against the quoted 1.62 m/s².
Simplifications and honest limits. A point-mass ball on flat ground with no spin or Magnus force, no wind, a constant drag coefficient (real balls change Cd with speed), no bounce or roll, no spacesuit constraints: a suited astronaut could not kick this fast, and these launch speeds are idealised for the comparison, not a model of a real kick or a safety guide. The constants GM and R are the standard published values quoted from memory (NASA/JPL lunar fact-sheet numbers) and were not re-fetched while building this lab; the Earth values are standard gravity and the ISA sea-level density. The spacesuit figure is generic, with no mission emblems.