I made a fun little python project that uses turtle to make lines and made a cool illusion with it.
Below is a picture of it half way made so you can get any idea of what your looking at:
Here is the code of you want it or to mess with if you’d like.
import turtle
import random
tur = turtle.Turtle()
turtle.colormode(255)
tur.speed(-1)
rand = random.randint(0,255)
for i in range(10000):
rand = random.randint(0,254)
tur.forward(i//2)
tur.right(60)
r = rand
g = rand
b = rand
tur.color(r,g,b)
c = (r,g,b)
tur.screen.mainloop()
One response to “shattered glass illusion experiment”
Nice Post!