Update: Party Mirror

For this week, I iterated and improved my project from last week! I decided to play a little bit more with color and gradients. I added 2 disco ball gifs into my sketch when it is in party mode by using the createImage() which will animate the gif automatically (I just discovered this a few days ago and was super excited to use it)! Next, I created a gradient for my p5 DOM button by drawing a series of lines and using the lerpColor(). Lastly, I practiced using HSB color mode with an accumulator variable to create a smoother transition between background colors during party mode.

Posted in: ICM

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 )

Google photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s