Pookkalam by Deepika S R

Code

shape = rectangle(w=310,h=310,fill="black")
show(shape)
shape = rectangle(w=205, h=205,fill="none",stroke ="yellow") | repeat(9, rotate(10))
show(shape)
shape = rectangle(w=200, h=200,fill="none",stroke ="orange",stroke_width=2) | repeat(9, rotate(10))
show(shape)
shape = rectangle(w=195, h=195,fill="none",stroke ="yellow") | repeat(9, rotate(10))
show(shape)
rect1=rectangle(w=90,h=90,fill="#820a0a",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=100,h=100,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=120,h=120,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=140,h=140,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)
rect1=rectangle(w=50,h=50,fill="#820a0a",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=60,h=60,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=70,h=70,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=80,h=80,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)
rect1=rectangle(w=10,h=10,fill="#820a0a",stroke="none")|repeat(20,rotate(50))
rect2=rectangle(w=20,h=20,fill="#ce0606",stroke="none")|rotate(15)|repeat(20,rotate(50))
rect3=rectangle(w=30,h=30,fill="#fc9802",stroke="none")|repeat(20,rotate(50))
rect4=rectangle(w=40,h=40,fill="#fceb02",stroke="none")|rotate(15)|repeat(20,rotate(50))|scale(0.98)
show(rect4,rect3,rect2,rect1)