Pookkalam by Anusha Joseph

Code

c1=circle(r=147,fill="#a60202",stroke="none")
c2=circle(r=150,fill="black",stroke="none") 
show(c1,c2)

rect1=rectangle(w=130,h=130,fill="#FFFFE0",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect2=rectangle(w=150,h=150,fill="#fceb02",stroke="none")|repeat(20,rotate(50))
rect3=rectangle(w=170,h=170,fill="#fc9802",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect4=rectangle(w=190,h=190,fill="#ce0606",stroke="none")|repeat(20,rotate(50))
rect5=rectangle(w=210,h=210,fill="#820a0a",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect5,rect4,rect3,rect2,rect1)

dark_green = fill = color(r=26, g=124, b=39)
dark_pink = color(r=233, g=36, b=89)
orange = color(r=255, g=153, b=51)
yellow = color(r=255, g=255, b=0)

b = circle(r=80,fill="#a60202",stroke="none")
c = ellipse(w=155,h=40,fill="black",stroke="none")|repeat(6,rotate(30))
show(b,c)

inner_circle = circle(r=55, fill=dark_green, stroke="#ce0606", stroke_width=6)
show(inner_circle)
inner_sqr_a = rectangle(w=35.36, h=35.36, x=18,y=18, fill=orange, stroke='none')
inner_sqr_b = rectangle(w=35.36, h=35.36, x=18, y=18,fill=yellow, stroke='none') | rotate(45)

inner_sqr_rot = combine([inner_sqr_a, inner_sqr_b]) | repeat(4, rotate(90))
show(inner_sqr_rot)

p1 = point(x=0, y=0)
p2 = point(x=35.36, y=35.36)
p3 = point(x=35.36, y=0)

inner_sqr = polygon([p1, p2, p3], fill=orange, stroke='none')
show(inner_sqr)

inner_ellipse= ellipse(w=6, h=3, x=5, y=0, fill=dark_pink) | repeat(8, rotate(45))
show(inner_ellipse)