ICM-W5 function

I reorganized my project W3.I think I understand more about function.

https://editor.p5js.org/MagicMonkeyWow/sketches/YYhqzbicU

 

And I want to explore more .

I tried to make the person’s eye follow my mouse and I want to use function to achieve that.But I failed to limit its range in the eye.

I tried to use object. And I tried to add this falling sakura as the background of my boy.

https://editor.p5js.org/MagicMonkeyWow/sketches/BF13bCaBO

Try to organize all the code, but it become a mess, like below.

https://editor.p5js.org/MagicMonkeyWow/sketches/Kvr8VWMTJ

My classmate Nancy came to help me debug, and finally I retained my homework.

I would like to try falling sakura next week.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *