Thursday, 9 August 2012

Loops

I used a while loop to draw all of the circles in one column, then I put that inside a loop that draws each row. I also changed the colour each time.
I go the code for changing the colour from http://krazydad.com/tutorials/makecolors.php I had to alter it slightly.
it wasn't working because the sin gave a double. So I just casted it to a float.



 I experimented with changing the size and spacing.

 Then I changed the fill settings.

http://www.openprocessing.org/sketch/67091



No comments:

Post a Comment