Pookkalam by Gadha R

Code

main_circle = circle(r=150, fill="black")

layer1 = rectangle (w=209,h=209,fill="yellow", stroke="yellow") | repeat (15,rotate(50))
layer2 = rectangle (w=193,h=193,fill="orange", stroke="orange")|rotate(15) | repeat (15,rotate(50))
layer3 = rectangle (w=178,h=178,fill="red", stroke="red")|rotate(0) | repeat (15,rotate(50))
layer4 = rectangle (w=165,h=165,fill="darkred", stroke="darkred")|rotate(15) | repeat (15,rotate(50))
layer5 = rectangle (w=153,h=153,fill="black", stroke="black")|rotate(0) | repeat (15,rotate(50))#innercircle
layer6 = rectangle (w=141,h=141,fill="darkred", stroke="darkred")|rotate(15) | repeat (15,rotate(50))
layer7 = rectangle (w=129,h=129,fill="darkred", stroke="white")|rotate(15) | repeat (15,rotate(50))
layer8 = rectangle (w=117,h=117,fill="darkred", stroke="darkred")|rotate(15) | repeat (15,rotate(50))
layer9 = rectangle (w=105,h=105,fill="darkred", stroke="white")|rotate(15) | repeat (15,rotate(50))
layer10 = rectangle (w=93,h=93,fill="darkred", stroke="darkred")|rotate(15) | repeat (15,rotate(50))
#inner_round = rectangle (w=140,h=140,fill="#098500", stroke="white") | repeat (20,rotate(5))
c1 = circle(r=65, fill = "yellow", stroke = "yellow")
c2 = circle(r=60, fill = "orange",  stroke = "orange")
c3 = c1 | scale(0.84)
c4 = c2 | scale(0.84)
c5 = c3 | scale(0.84)
c6 = c4 | scale(0.84)
c7 = c5 | scale(0.84)
c8 = c6 | scale(0.84)
e1 = ellipse(x=0, y=32.5, w=10, h=65, fill = "#d10000", stroke = "darkred", stroke_width = 3) | repeat (13,rotate(55))
#show
show(main_circle,layer1, layer2, layer3, layer4, layer5, layer6, layer7, layer8, layer9, layer10, c1, c2, c3, c4, c5, c6, c7, c8, e1)