Waveform faces
This project graphs waveforms (sine, square, sawtooth, triangle) in a way that looks like a face. Hover over one of the faces and the amplitude (height) or frequency of that face's mouth will be based on the mouse's Y or X position respectively. The triangle wave formula is adapted from https://stackoverflow.com/questions/1073606/is-there-a-one-line-function-that-generates-a-triangle-wave/21197837#21197837 Feel free to use or modify the "draw face with ..." function in your own projects as long as credit to gnlp (me) is given. # design
Created February 4, 2025
Last updated February 5, 2025
Published February 5, 2025