Navigation Menu+

Using nested for loops and functions to create a pattern

Posted on Feb 14, 2014 in student work

Many of these students are getting their first experience of coding using the Jave IDE, Processing. For a early assignment, students were required to create a pattern with randomized components. Nested for loops to create the grid, functions create the various pattern elements, and an array that stores a color palette.