The Joy of x
by Simon Whitechapel
Very simple formulae can sometimes produce very complex patterns: if you fill a 2d grid according to whether (x2 + y2) modulus q > q/2, you produce rippling patterns like the odd-numbered ones below. If you add up the binary bits of (x2 + y2) mod q, then use modulus 4 to test whether the pixel is filled, you produce patterns like the even-numbered ones below. (Reload the page to see new patterns.)
Maths Index
Main Index