SimpleBlog

Index of all articles

Carpet Design with Spirals an Symmetries

Lets generate a pattern:

x in [0;419**2] -> 1 if sin(x) > c

Let’s spiralize this pattern according to this principle:

012 345 678

->

812 703 654

and if we make a nice picture of it [419×419] -> [640×480] this becomes to (modern art):

Next we rotate the [419×419] one by 90 degrees and then reflect vertically and horizontatlly and map to [640×480] again:

What a nice carpet!