Pookkalam by Christina Susan

Code

c1 = circle(r=150,fill='brown')
show (c1)
#outer layer
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)
#middle layer
c2=circle(r=106,fill='brown',stroke='brown')
show(c2)
shape = rectangle(w=150, h=150,fill = 'green') | repeat(9, rotate(40))
r2= rectangle(w=150, h=150,fill = '#c71a56') | repeat(9, rotate(85))
show(shape,r2)
s1 = circle(x=25, y=0, r=25,fill='#020c75') + circle(x=50, y=0, r=12,fill = '#f7f719')
s2 = s1 | rotate(90)
s3 = s1 | rotate(180)
s4 = s1 | rotate(270)
#inner circle
c=circle(r=60,fill = 'orange')
show(c)
show(s1, s2, s3, s4)
c=circle(x=20,y=0,r=10,fill="#faf7f5",stroke="red",stroke_width=3)
p1=point(x=30,y=0)
p2=point(x=30,y=10)
p3=point(x=20,y=20)
e=polygon([p1,p2,p3],fill="yellow",stroke="red")
s1=c+e|repeat(6,rotate(60))
show(s1)