Skip to content
Gabe Warshaw edited this page Sep 6, 2021 · 1 revision

Questions:

  • In video 2.1, Dan added an alpha of 50 to the fill() function in order to create a time-dependent variable that decreased the opacity of the drawing the longer the mouse was held in a certain position. Why does the alpha value in the fill() function change opacity over time?
  • In the self-portrait HW assignment, I tried to create a semi-circle to use as a hat. I had trouble getting it to rotate in the right orientation and locate properly - p5.js reference documentation mentioned that rotation should be specified in radians, but I was unable to get it to locate properly. Can we review this?

Blog:

Clone this wiki locally