Friday, 13 April 2012

Creative Coding, Project Two, Blog Two

I have finally created a successful loop, I'm still not 100% confident with what I'm doing, or more why I have to do what but I'm getting there. The next step is to write one completely by myself without looking at examples to make sure I understand it, then I can have a go at mixing it up and finding a structure worthy to manipulate.

This is what I first made...

Here I repeated a certain number of squares moving further across both the y and x axis

This is the code for the image above,  as you can see I only have one 'while' statement, trying to keep it simple so I can easily follow what's going on at each point.

This is the latest loop I have made... It's a grid... WOAHOO!  I added another 'while' statement within a 'while' statement.

No comments:

Post a Comment