Pookkalam by Malavika S

Code

r1 = rectangle(w=300, h=300, stroke="none", fill="white")
show(r1)
c1 = circle(r=150, fill="#4d2600", stroke="none")
c2 = circle(r=145,fill="#e67300",stroke="none") 
c3 = circle(r=18,fill="#2eb82e",stroke_width=1.5)
c5 = circle(r=12,fill="white",stroke="none")
c6 = circle(r=8,fill="#bf4040",stroke_width=1.4)
c7 = circle(x=100, y=0,r=8, fill="white",stroke="none")
c8 = c7 | repeat(6, rotate(60))
c9 = circle(x=100, y=0,r=4, fill="#732626",stroke="none")
c10 = c9 | repeat(6, rotate(60))
show(c1,c2)
e1 = ellipse(w=290,h = 150,fill="#ffff00",stroke="none") | repeat(3 ,rotate(120)) 
e2 = ellipse(w=270,h = 140,fill="white",stroke="none") | repeat(3 ,rotate(120))
e3 = ellipse(w=260,h = 110,fill="#b34700",stroke="none") | repeat(3 ,rotate(120))
e4 = ellipse(w=140,h = 270,fill="#ff1ac6",stroke="none") | repeat(3 ,rotate(120))
show(e4,e1,e2,e3)
show(c7,c8,c9,c10)
c4 = circle(r=40,fill="#f2f2f2",stroke_width=1.5)
show(c4)
r3 = rectangle(w=24, h=24, x=0, y=0,fill="#990000", stroke_width=1.5)| rotate(45) | translate(y=37)
r4 = r3 | repeat(8, rotate(45))
r5 = rectangle(w=16, h=16, x=0, y=0,fill="#ff751a",stroke="none")| rotate(45) | translate(y=36.5)
r6 = r5 | repeat(8, rotate(45))
r7 = rectangle(w=10, h=10, x=0, y=0,fill="#ffff33",stroke="none")| rotate(45) | translate(y=36)
r8 = r7 | repeat(8, rotate(45))
r9 = rectangle(w=24, h=24, x=0, y=0,fill="#ff0000", stroke_width=2)| rotate(45) | translate(y=55)
r10 = r9 | repeat(8, rotate(45))
p1 = point(x=-77, y=45)
p2 = point(x=0, y=90)
p3 = point(x=77, y=45)
p4 = point(x=77, y=-45)
p5 = point(x=0, y=-90)
p6 = point(x=-77, y=-45)
r11 = polygon([p1,p2,p3,p4,p5,p6], fill="#ff8533",stroke="none")
show(r11)
show(r9,r10)
show(c4)
show(r3,r4,r5,r6,r7,r8)
show(c3,c5,c6)