Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums.
How it works:
- Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh.
- Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles.
- Sound model factors in strike location, Rayleigh damping, and mallet width.
- Includes Kac drums I & II to demonstrate identical sound spectra from different geometries.
- No frameworks, build steps, or dependencies.
Repo and tests: https://github.com/BaselAshraf81/eigendrum
Happy to answer any questions about the FEM solver or Web Audio setup!
I just entertained myself with this for 30 minutes.
This is so dang cool. I’m sorry that all people can do is complain!