Animation assignment

I chose to make a square block that seems to be rolling and is it rolls it gets bigger. The main difficulty I had with it was trying to get it to rotate and getting the 3d shape. Once I figured that out it wasn’t too difficult asides from the fact that I can’t figure out how to make the box roll in the middle always now it starts off rolling near the top and as it gets bigger goes to the bottom. My animation follows the following rules from the illusion of life. It follows #6 slow in and slows out if you analyze in the middle it becomes a square shape and you cant see its 3d nature. You can then see it again when it is slowly coming in and slowly leaving. It does follow # 7 arc as its rotation does cause it to go in a circular movement. Please see my animation in the link below, thank you.

https://www.openprocessing.org/sketch/509956

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

Self-Portrait

This was very challenging to transition from drawing an image to making a model in processing. The most challenging portion is trying to make curve lines. The easiest way to do that seems to be, is using arc method which worked great for the mouth but not so much for the nose and ears. I wanted the nose and ears to rotate in specific ways but no matter what I do to the variables in arc they did not rotate the way I wanted them to. I was also surprised by how easy changing the colors as I thought it would be much more difficult but it was easy to get adjusted to it.

Link to processing site: openprocessing.org/sketch/504339