# Eigendrum - Draw any shape and hear what it sounds like as…

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 circle…

- **Page:** https://magpie.gallery/i/eigendrum-draw-any-shape-and-hear-what-it-sounds-l-oseh
- **Type:** Link to an idea elsewhere
- **Category:** Creative & design
- **Runs on:** web
- **Tags:** drum, physics, sound, simulation, wave-equation

## Source

Web · BaselAshraf81: Eigendrum - Draw any shape and hear what it sounds like as a drum

- **Original:** https://news.ycombinator.com/item?id=49246366

> 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 https://baselashraf81.github.io/eigendrum/

## GitHub projects

- https://github.com/BaselAshraf81/eigendrum

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
