Anna’s Portfolio




Back to top


Next






Processing is a programming language, development environment, and online community. On processing.org web site, you can download Processing for free, listen to interactive beginners tutorial and find many other learning resources.
So to get started I went to do the tutorial. In the first lesson I learned how to draw a rectangle and ellipse and how to position them on the screen and set their dimensions. At the end of first lesson I was given a task to draw a picture made of ellipses and rectangles. I decided to draw a man and ended up with this code and this drawing:
In the second lesson I learned how to add colours to my design. I used my code from the first lesson and played with colours:
Next I learned how to animate my program using mouseX and mouseY.
In the last lesson I learned how to code conditional statement which allows me to perform different actions for different decisions.
During the lecture at the University we went on practicing to code in processing. I learned how to use variables, draw many different shapes, disable lines inside my code, change the speed of the object etc. We drew a square and made it change colours depending on the position of the mouse, made it bounce from the sides of the screen and change speed at random. I also added another square and made the first square to bounce from the sides of the second square: