Live data from Hacker News

Simulation class: 2D wave equations (in browser)

encinographic.blogspot.com

1–10 of 14 posts

Re: Simulation class: 2D wave equations (in browser)

#4
This is just pure awesome. It is so awesome, that I was jealous of the author for not being able to do this first, I almost didn't upvote it out of that jealously--it's that good. Keep up the good work!

(I'm working on hacking together sims myself but for a larger project--I'm part of a computation group at some state uni modeling HED plasmas.)

Re: Simulation class: 2D wave equations (in browser)

#6

Very nice! I assume clicking inside the panel is like throwing a pebble in a pond? Is this correct?

Yes it is very similar, it sets the value at that grid point to its maximum height. This causes the neighboring grid cells to react accordingly (Laplacian in space), giving the rippling effect.

Re: Simulation class: 2D wave equations (in browser)

#8
If you like wave equations, you might also enjoy EmeWave:

http://psych.colorado.edu/~oreilly/emewave.html

The movies at the bottom of the page are great, and if you want to see how it's done, his papers give a thorough and rigorous explanation that is easy to translate into code.

Post reply on HN