Week 2 Interactive assignment( Shahriar and Kamau)

For this assignment Kamau and I created Pinnochio. The two interactive elements we wanted to add was one, which may be the most obvious is make his nose grow. Second, we wanted his eyes mainly his pupils to always follow the mouse. Making the nose grow and become smaller was not too bad once I figured out how to set variables because then it became very easy to have increments of having values increase and decrease allowing the nose to grow and become smaller. I even added an extra effect where the sketch flashes when you make it smaller and bigger and some text even appears. The biggest struggle I had was the eyes they would move with the mouse but the pupils would always come out of the eye sockets. So I needed a way to make it moveable and still restrict its movement. This was really tough to do but I figured out the mapping techniques and then it was a lot easier.

processing site: https://www.openprocessing.org/sketch/506733