Circular Waves and Nodal Lines

I made this demo to help me visualize nodal lines. Click on the canvas to add a center.

height:

Notes: Created on June 6, 2018. I don't know much about waves. I suspect that the amplitude of a circular wave decreases as you go away the center, since a larger circumference of water is disturbed. I did not account for this in the simulation. This was my first time using both the HTML5 canvas ImageData API and WebAssembly (there is a JS fallback). Current resolution is 160x120, which is 19,200 pixels, individually calculated for every frame. Surprisingly, the JS fallback runs very smoothly on an iPhone SE (2016). Pixel drawing starting code is taken from Rembound.

C to WASM source files: