import turtle as t
import colorsys as cs
t.tracer(2)
t.bgcolor('black')
t.pensize(2)
n = 100
h = 0
for i in range(500):
for i in range(4):
c = cs.hsv_to_rgb(h,1,1)
h += 1/n
t.color(c)
t.circle(49+i*5,90)
t.forward(100)
t.left(90)
t.right(10)
t.done()
import colorsys as cs
t.tracer(2)
t.bgcolor('black')
t.pensize(2)
n = 100
h = 0
for i in range(500):
for i in range(4):
c = cs.hsv_to_rgb(h,1,1)
h += 1/n
t.color(c)
t.circle(49+i*5,90)
t.forward(100)
t.left(90)
t.right(10)
t.done()
❤1
from turtle import *
speed(0)
def insta1(x,y):
penup()
goto(x,y)
pendown()
def insta2(x,y,f,c,c1,c2):
color(c)
insta1(x,y)
begin_fill()
for i in range(4):
forward(f)
circle(c1,c2)
end_fill()
def insta3(c,x,y,c1):
color(c)
begin_fill()
insta1(x,y)
circle(c1)
end_fill()
insta2(-150,-120,350,'pink',20,90)
insta2(-110,-70,260,'white',20,90)
insta2(-90,-50,220,'pink',20,90)
insta3('white',20,10,70)
insta3('pink',20,30,50)
insta3('white',110,160,15)
hideturtle()
done()
speed(0)
def insta1(x,y):
penup()
goto(x,y)
pendown()
def insta2(x,y,f,c,c1,c2):
color(c)
insta1(x,y)
begin_fill()
for i in range(4):
forward(f)
circle(c1,c2)
end_fill()
def insta3(c,x,y,c1):
color(c)
begin_fill()
insta1(x,y)
circle(c1)
end_fill()
insta2(-150,-120,350,'pink',20,90)
insta2(-110,-70,260,'white',20,90)
insta2(-90,-50,220,'pink',20,90)
insta3('white',20,10,70)
insta3('pink',20,30,50)
insta3('white',110,160,15)
hideturtle()
done()
❤2👍1