Simulates musical vibration patterns ("Chladni figures") on a 2D square plate with particles on top. Smoother: https://turbowarp.org/624866307 Varies m and n to alter the musical vibration patterns. The patterns gradually change here. Using Leopard to translate to javascript: https://yh2on.csb.app/ click the flag again. I shaded with red and purples rather than black and white because it looks nicer. White represents the particles, like sand, that go to spots that don't vibrate.
Chladni figures are patterns of scattered sand or other particles on an elastic square plate, held at a point in the center, and made to vibrate. A violin bow or very loud sound underneath makes the plate vibrate. The particles (white) end up in the stationary places of zero vibration, which are the places where harmonics cancel: Cos(n * 180 * x / L) * Cos(m * 180 * y / L) - Cos(m * 180 * x / L) * Cos(n * 180 * y / L) = 0 for values of n and m. Those x and y coordinates where the above equals zero are the places where harmonics cancel completely, represented as white or bright.