Pookkalam by Nandhana Ayyappankutty

Code

c1 =circle(r=150,fill="black")
show(c1)
shape_a = rectangle(w=213, h=213,fill="red",stroke="red") | repeat(9, rotate(10))
show(shape_a)
shape_b = rectangle(w=186, h=186,fill="orange",stroke="orange") | repeat(9, rotate(10))
show(shape_b)
shape_c = rectangle(w=160, h=160,fill="yellow",stroke="yellow") | repeat(9, rotate(10))
show(shape_c)
shape_d = rectangle(w=140, h=140,fill="green",stroke="green") | repeat(9, rotate(10))
show(shape_d)
s = rectangle(x=100, y=0, w=15, h=15)
s = circle(x=140, y=0, r=10)
s1 = s | repeat(30, scale(0.84))
s2 = s1 | repeat(90, rotate(10))
show(s2)
rect_1 = rectangle(w=90, h=90,fill="brown",stroke="pink") | repeat(20, rotate(10)|scale(0.9))
rect_2 = rectangle(w=90, h=90,fill="none",stroke="pink") | repeat(15, rotate(10)|scale(0.9))
show(rect_1,rect_2)