This Homework was simply divided to 4 parts and the main focus on creating each assignment was "repetition" in processing language.
First of all, we started with drawing random rectangles in different shape, color and size.
The 2nd part is closely related with the 1st one except we want processing to generate the image very one second. I had some difficulties in the beginning since the output was too fast, but after we were told by the instructor about frameRate() then I could easily control the speed of the output image.
we have heard of nested for loops before and we used it in our C and JAVA programming classes, but this time with processing, the syntax is same and the idea of nesting is also similar.
The last but not least is to draw 12 ellipses divided to 3 rows in which a row contains 4 ellipses.
3) (4X3) ellipses
I used random colors for the ellipses, this is also done by Nested foor loops, that's why we started with an easy example (3rd) then we made some really cool stuff with it later on.
No comments:
Post a Comment