Code
def ellipse1():
fill1 = color(r=255,b=0,g=69,a=1)
s1=ellipse(x=0,y=25,w=10,h=50,fill=fill1)|repeat(36,rotate(10))
#c2=circle(r=50,stroke_width=2,stroke="#90EE90")
show(s1)
def ellipse2():
fill2=color(r=135,g=50,b=204,a=0.8)
s1 = ellipse(fill=fill2,stroke="none")
s2 = s1 | rotate(45)
s3 = s1 | rotate(90)
s4 = s1 | rotate(135)
show(s1, s2, s3, s4)
def circles():
shape = circle(x=85, y=0, r=5,fill="#FF69B4") | repeat(36, rotate(10))
show(shape)
def square():
fill=color(r=250,g=210,b=0,a=0.5)
shape = rectangle(w=170, h=170,fill=fill,stroke="brown") | repeat(9, rotate(10))
show(shape)
def outcircles():
fill=color(r=127,g=255,b=212,a=0.6)
shape = circle(x=0,y=120,r=5,fill=fill,stroke_width=1) | repeat(60, rotate(30))
show(shape)
def lines():
l = line(x1=25,y1=0,x2=75,y2=0,stroke="white")
s = l | repeat(40,rotate(10))
show(s)
outcircles()
square()
ellipse2()
circles()
lines()
ellipse1()