This is a quick and dirty implementation of harmonic oscillation written in JavaScript using p5.js.

Creating things with p5 is so quick and easy – definitely my new favourite toy language.

It’s a copy of this based on this.

Categories: Fun

Leave a Reply