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.
![](https://static.wixstatic.com/media/97d7d0_4339e3909be8494bb2085f353a7cccf7~mv2.png/v1/fill/w_960,h_812,al_c,q_90,enc_avif,quality_auto/97d7d0_4339e3909be8494bb2085f353a7cccf7~mv2.png)
Comments