MHN

Show HN: Eigendrum - Draw any shape and hear what it sounds like as a drum

243 points by BaselAshraf81·111 days ago·baselashraf81.github.io·Show in HN

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!

https://eigendrum.com/#p=circle

Add a comment on Hacker News →
2 of 103 comments
  1. I just entertained myself with this for 30 minutes.

  2. This is so dang cool. I’m sorry that all people can do is complain!