Log In  

Cart #58686 | 2018-11-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

A simple generative art.

The formula is printed at the bottom of the screen.

P#58687 2018-11-02 18:16 ( Edited 2018-11-03 12:35)

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

P#58688 2018-11-02 18:23 ( Edited 2018-11-02 22:23)

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

P#58689 2018-11-02 18:34 ( Edited 2018-11-02 22:34)

What happens if you exceed 16 ?

P#58692 2018-11-02 19:14 ( Edited 2018-11-02 23:14)

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)

P#58712 2018-11-03 08:35 ( Edited 2018-11-03 12:35)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 11:46:47 | 0.011s | Q:18