A simple generative art.

The formula is printed at the bottom of the screen.

Pretty, but I'm confused. Shouldn't the whole screen share the same image, not just 2-corners at a time ?

the zero line is at the centre. therefore the top has a negative Y and the left has a negative X.

What happens if you exceed 16 ?

i could do that trivially. there is a " if mod>16 then mod=16" you can comment in the _update function. however there are only 16 colors so the pattern wont represent the actual function. it would be:

f(x,y) =((x*y)%mod)%16)

[Please log in to post a comment]