Golf Range — Projectile Motion (launch angle, speed, height, gravity, air)
HOLE IN ONE!
🏌 Swing!
⏸ Pause
⟲ Reset ball
Speed
0.25×
0.5×
1×
2×
5×
10×
◀ 0.1 s
0.1 s ▶
grid
show paths
Clear paths
strobe every
0.1
0.25
0.5
1
2
s
velocity vector
components (v
x
, v
y
)
true shape (equal axes)
lock view
Tools:
📏 Tape measure (drag on field)
⏱ Stopwatch (sim time):
0.00 s
Start
Stop
Reset
sound
Setups:
v
initial
(m/s)
Launch angle θ (°)
Launch height h (m)
Hole distance (m)
Hole-in-one zone: ±
0.5
1
2
5
m
Fire θ and 90° − θ
Gravity:
Earth 9.8 m/s²
Earth 9.81 m/s²
Moon 1.62 m/s²
Mars 3.71 m/s²
Jupiter 24.79 m/s²
Custom…
g (m/s²)
Atmosphere:
None (ideal)
Air (drag)
Ball:
Golf ball (45.9 g, 42.7 mm)
Ping-pong ball (2.7 g, 40 mm)
Baseball (145 g, 74 mm)
Custom
Mass (g)
Diameter (mm)
Drag coeff. C
d
Air density ρ (kg/m³)
Predict mode
: predict before you swing →
range
m, max height
m, hang time
s
(or click the fairway to plant a prediction flag)
🎯 Hole-in-one challenge:
New random hole
random launch height
random planet
At the top: v
y
= 0 but v
x
≠ 0 — the ball is still moving sideways, and a
y
is still −g.
Current shot vs time (revealed as it flies). Dashed gray = same launch with no air.
AP Physics 1 connections
Shots
⬇ CSV
Clear table
#
g
Air
v₀ (m/s)
θ (°)
h (m)
Range (m)
Max ht (m)
Hang (s)
Hole (m)
Result
Pred. R (err)