Pookkalam by ATHUL E

Code

c2=circle(r=30,fill="green")
show(c2)
e1=ellipse(w=30,h=17,x=20,y=0,stroke='#f4ff59',stroke_width=3,fill="#9e0808") | rotate(22.5)
petal=e1 | repeat(9, rotate(45))
show(petal)
r3 =  rectangle(w=35,h=35,fill="orange",stroke='orange')|repeat(10,rotate(20))
c2 = circle(r=15,fill="red",stroke='yellow')
c1 = circle(r=8,fill="orange",stroke='orange')
show(r3,c2,c1)
c1 = circle(r=150,fill='brown')
show (c1)

sublayer1 = rectangle (w=209,h=209,fill="red", stroke="red") | repeat (20,rotate(50))
show(sublayer1)
sublayer2=rectangle(w=192,h=192, fill="orange",stroke="orange")|rotate(15)| repeat(20,rotate(50))
show(sublayer2)
sublayer3=rectangle(w=178,h=178,fill="yellow",stroke="yellow")|repeat(20,rotate(50))
show(sublayer3)
sublayer4=rectangle(w=166,h=166,fill="white",stroke="white")|rotate(15)|repeat(20,rotate(50))
show(sublayer4)

r1 = rectangle(fill="purple", l=50, w=30) | repeat(6, rotate(60)) 
r1 += circle(fill="blue", r =30)
c1 = circle(fill="purple", r= 109) + circle(fill="red", r= 80)
shapes= c1 + r1
show(shapes)


s1 = ellipse(fill='green',stroke='#0d001a')
s2 = s1 | rotate(45)
s3 = s1 | rotate(90)
s4 = s1 | rotate(135)
show(s1, s2, s3, s4)

z=line(x=0,y=10,stroke_width =3.5)|repeat (8,rotate(45))
c1=circle(r=49,fill='red')
c2=circle(x=20,y=0,r=20,fill='yellow',stroke='black')|repeat(6,rotate(60))
d=circle(x=20,y=0,r=25,fill='black') |repeat(60,rotate(20))
c3=circle(x=0,y=0,r=10,fill='black')
show(c1,c3,c2)