C Family

Processing 2.1.1

We began our intro into the C family with java we began using it on the processing software. We made a smilie face in the software to start off and then to build off of we made the smilie face with the code bellow. That code was also used to make the smilie face move around the screen. It was hard to set up the smilie face at first getting the eyes in the right place then the pupils, afterwards the nose was the easiest then the mouth, the mouth was the hardest one to do. The mouth depended on the x and y axis to move, and whenever I moved the x axis or the y axis the line changed size so it was hard to get it in the right place.

This code allowed me to move the smilie face around the screen without draging multiple copies of the smilie face. It also made the smilie face follow the mouse round the 400 by 400 screen on which the program was running on.

Today we made a color shifting thing using trigonometry. We used the programing that we learned yesterday on how to position a circle. We eventually figured out how to make it go up and down with the circle. The programming did the rest it was complete the chain of circles was complete it went up and down no problems and the program was sound. The colors were shifting changing colors and then eventually getting hooked on one single color pattern. And that was the complete experience with java programming and the c family.