ICM : WEEK 2

For this week assignment, I decided to continue working on my black cat sketch from last week! My plan was to

  1. Make the eyes follow the mouse
  2. Make the cat drool randomly
  3. Draw random shapes on the background

After several attempts at using atan2 function to make the eyes move (and failed miserably), I gave up and reached out to one of the Residents. She suggested to map the eyes to the mouse instead of using atan2 since the latter requires a lot of calculation and it’s likely that I’ll get confused. Mapping was a lot simpler so I was able to finish the eye movement in no time!

As for no.2, I could somehow make the cat keep drooling on its own, which is nice, but still not exactly what I wanted. I thought it would be better if I could make the saliva drop randomly (in terms of starting point, size and speed) since now it just follows the same repeating pattern.

I didn’t have any problems working on no.3. I decided to make a text appear in different places every time I run the sketch. Everything went pretty smoothly. The only thing I’m concerned about is that I get VERY dizzy every time I look at my sketch since the text just keeps jumping around and you can’t actually read it. I will try to make it move in a slower manner later!

Here’s the link to my sketch.

https://editor.p5js.org/msyves/sketches/HyUvlRCOQ

Screen Shot 2018-09-19 at 00.24.21

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s