Video/ Audio homework
https://editor.p5js.org/kmccloskey2/sketches/2lnCctddT
For this homework I attempted to make a video with a random tint. I liked the video example from the Youtube lesson that had a pink tint to it. So, for this, I used a conditional statement to correspond the video to change with the sound. A challenge that I had when completing this assignment was trying to figure out how to only have one video shown. It was frustrating because when I figured out I was missing something as simple as video.hide(); it all came together after spending much time figuring that out. I decided to use a slider to create the sound and when the sound is paused, the video tint is no longer random.
Comments
Post a Comment