Generating a random pattern with math functions
In this exercise a grid of squares of a random size is painted. Each square is colored based on the result of a math function (any function), the result of the function is then applied a modulo operator by also a random number (to get a result between 0 and 9).
The results are weird and cool patterns: