01. Getting Started

If you haven't yet downloaded and installed Processing, visit http://processing.org/learning/gettingstarted/ to learn how to do so. If you're installing it at school, it's best to install the full Windows version, not the one without Java.

Read http://processing.org/learning/gettingstarted/ in its entirety before doing any of these assignments. All assignments on this page are based on exercises from that page.

Assignment - Ellipse

Type the following code into Processing:

Clarify in your mind what the individual numbers in the command are. Note the semi-colon at the end of the line. What happens of you run the program without the semi-colon?

Save your program as Ellipse.pde, and submit to the relevant hand-in folder.

Assignment - Circles

Type the following code into Processing:

Clarify in your mind the purpose of the setup() method. What happens when you change the numbers and run the program. Try it, then put it back to original.

In the draw() method, what happens if you change 255 in the fill() method to another number? What happens if you change the first 80 in the ellipse() method to 40?

Save your program as Circle.pde, and submit to the relevant hand-in folder.

Assignment - Rectangles

Modify the example 2-2 program so it draws rectangles instead of ellipses.

Save your program as Rectangle.pde, and submit to the relevant hand-in folder.

Assignment - Create a Standalone Program

Export your rectangle program as a standalone application, and submit the entire Rectangle folder to the relevant hand-in folder.