Self Portrait and Rectangles [Oct. 16, 2017]

Foreword:

Here is a self portrait using the basic shapes in Processing. To generate the picture I played with the fill colours, whether there was or wasn’t a stroke around the shape, and had to get creative to create the curls for my hair. As mentioned in class, the Processing reference site has a lot of useful information and helped a lot in explaining what the arguments for each function mean.

The second task just required a loop to print five rectangles in random positions. To make it interesting I made the colours of each rectangle change. I also slowed down the frame rate so that the colours would change slower than the default fps, which is 60.

Pictures:

Code:

Self Portrait

Rectangles

 

Leave a Reply

Your email address will not be published. Required fields are marked *