Sound Wave Simulation

Simon created a string simulation or a simulation of a traveling wave, something he used to experiment with using a slinky. Pressing the F key flattens the wave, the T key makes it a triangular wave, the Q key makes it a square wave, the S key makes it a sine wave, and the H key makes it a half-sine wave. Simon’s code of the string simulation is available at: https://editor.p5js.org/simontiger/sketches/Q-0iYdEPS

While working on the project live on Discord, Simon received a suggestion from one of the viewers to tie the wave to the microphone (to the sound wave), which he did. “It turned into a more creative project than I thought!” Check this version of the project out at: https://editor.p5js.org/simontiger/sketches/dQypxomRm

Simon also added one more wave mirroring the original one, for a “trippy” effect: https://editor.p5js.org/simontiger/sketches/KOVDEwuAQ

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s