This repo contains scripts and an html page for playing around with Chladni figures. The page is online here.
Named for Ernst Chladni, these figures represent nodal patterns formed by vibrating surfaces. Traditionally, these are formed placing fine particles on a surface, like a sheet of metal that is set vibrating (a violin bow against an edge of the metal plate is one popular method). The particles settle in the areas of the surface that have the least motion - the nodes. At resonant frequencies, a characteristic pattern emerges.
The page allows you to add and modify the vibrations applied to the simulated surface. Unlike actual physical systems, the simulation allows you to superimpose vibrations that would occur on a fixed edge surface along with those that would occur on surface whose edges are allowed to freely vibrate.
Here are a couple of examples:
This project uses html and javascript - similar affect is achieved using R scripts found in the dmackinnon1/r_examples repo. See also this blog post