This page solves a damped version of the membrane equation with fixed Dirichlet boundary conditions, using an explicit second-order finite-difference update on a square lattice.
u_tt = c^2 (u_xx + u_yy) - gamma u_t
lambda = c Delta t / Delta x
u_next = (2 - gamma) u - (1 - gamma) u_prev + lambda^2 Laplacian(u)
u = 0 on the boundary
Finite difference stencil. The Laplacian uses the standard five-point stencil, so each interior cell reacts only to its four cardinal neighbors during an update.
Standing modes. The mode presets seed sinusoidal shapes that are eigenfunctions of the clamped square membrane, so the pattern oscillates in time while the nodal lines stay fixed.
Stability condition. In two space dimensions, the explicit scheme becomes unstable once the Courant number exceeds roughly 1 / √2, which is why the λ slider is bounded below that edge.