Work through all the code examples in Chapter 3 of Getting Started with Processing i.e. type in all code examples and run them. Change the numbers a little and then run them again. Make sure you have a basic understanding for how each shape works. Much of this material is also in the Processing.org tutorial page on Coordinate System and Shapes

While working through Chapter 3, also read through this great treatment of color on the Processing web site.