This week, we learned about how to embed image and video into p5, and work on image and video in the level of pixels. After last Tuesday's class, I still had a problem understanding the pixel array (index), but when I was doing the worksheet for this week, Nancy explained to me the grid system behind the pixel array which made it so much easier.
I did two sketches related to image pixels.
The first one is: 🔗
To get a better effect, I wanted to change the paintbrush from a square to a circle. But can the get() function do that?
The second one is: 🔗
Since we are working with pixels, I also did this pixel painter for fun.
Comments