Doppler Effect

Interactive simulation — adjust parameters and watch the visualization update in real time.

How it works

Stationary observer and a source in sinusoidal motion: the line-of-sight velocity component toward the observer shifts the perceived frequency. Concentric wavefronts are emitted from past source positions; spacing reflects wavelength changes. Optional audio follows f ≈ f₀ c/(c − v∥).

Key equations

f ≈ f₀ · c / (c − v∥),   v∥ = v⃗ · r̂ (source → observer)
Plane wave / point-source approximation; v∥ clamped for stability.