Pookkalam by Arjun Sasi

Code

shape1 = rectangle(w=200, h=200, fill = "black", stroke_width = 0) | repeat(9, rotate(10))
shape11 = rectangle(w=180, h=180, fill = "darkblue", stroke_width = 0) | repeat(9, rotate(10))
shape111 = rectangle(w=160, h=160, fill = "blue", stroke_width = 0) | repeat(9, rotate(10))
c1= circle(r=80,fill="darkgreen")
c2= circle(r=60,fill="lightgreen")
c3= circle(r=40,fill="yellow")
c4= circle(r=20,fill="red")
show(shape1, shape11, shape111,c1,c2,c3,c4)
e1 = ellipse(h=15, w=20)
show(e1)

e2 = e1 | rotate(60)
e3 = e2 | rotate(60)

shape = e1+e2+e3

show(shape)

shape = shape | scale(2)
show(shape)
e1 = ellipse(h=30, w=40)
show(e1)

e2 = e1 | rotate(60)
e3 = e2 | rotate(60)

shape = e1+e2+e3

show(shape)

shape = shape | scale(2)
show(shape)


e1 = ellipse(h=80, w=105)
show(e1)

e2 = e1 | rotate(60)
e3 = e2 | rotate(60)

shape = e1+e2+e3

show(shape)

shape = shape | scale(2)
show(shape)