Categories
Flash

Modulus

Modulus is when you divide something and you get a remainder , it returns the remainder so when you want to alternate something such as a set of backgrounds it’s a great little help. Also has a simpler bit of code then two loops for creating a grid in the comments.

Grant Skinner’s blog as always