top of page

Week 9: Color Shadow

p5 address:

https://editor.p5js.org/sherryliulxy/sketches/dZS62UDje

This week’s assignment was an accident.

At first, I was inspired by a traveler’s Instagram. He went to different countries alone and took selfies for himself. When I saw the body pix on webcam example. I thought about to make a snap game, different countries pictures will show up for a second. The player can click the snap button to see which country he will “goes” to.

But..I had trouble to write the code. Even though I already load the background picture in, it still showed black in the background. When I tried to write another code, the p5 editor stop running.

When I was trying to fix some code, I accidentally made a shadow of the body which reminds me of shadow dancing. I put the mask in the opposite way which makes the shadow part become to color and make it looks more creative. 

bottom of page