This week in processing we learnt about creating rotating patterns using shapes as well as changing the colour mode and translating the point of axis to change the rotation patterns.

Screen Shot 2014-10-21 at 22.20.27 tri

This next pattern is very simple to code and shows use of for loops to create a screen full of squares without having to code them out individually. By using random on the fill command it turns into a kind of static. Another useful feature is the saveFrame function which saves each individual frame so you can stitch them together to create an animation. You can also use this feature in an if statement so you can save at the click of a button.

Screen Shot 2014-10-21 at 22.21.16 static

Advertisements