2D grid of spring-coupled masses simulating a vibrating membrane with circular wavefronts
Simulates a grid of spring-coupled masses in two dimensions, initialized with a velocity impulse. The four-neighbor coupling approximates the 2D discrete wave equation, producing circular wavefronts that propagate outward and reflect off the fixed boundary. Ball sizes encode local density, visualizing the wave pattern.
Controls: Click and drag to orbit, scroll to zoom.