2D Wave Tank

Interactive water waves, interference, and reflection

Draw:
c = 4
α = 0.996
r = 6
f = 8

The 2D wave equation ∂²u/∂t² = c²(∂²u/∂x² + ∂²u/∂y²) solved on a grid using the finite-difference method. Walls (white cells) act as fixed boundaries (u=0), producing reflections. Click to drop a disturbance or place an oscillating source. Try Double Slit to see interference fringes — bright bands where waves add constructively, dark bands where they cancel. The color shows wave height: blue=trough, red=crest, dark=zero.