Pookkalam by Karthik N P

Code

c = circle(r = 150, fill = "#EEA47FFF", stroke = "none")
show(c)
ellipse1 = ellipse(w = 300, h = 300/4, fill = "#291FA2", stroke = "#0000") | repeat(9, rotate(angle=20))
show(ellipse1)
ellipse2 = ellipse(w = 230, h = 230/3, fill = "#6DA7FE", stroke = "#EEA47FFF") | repeat(9, rotate(angle=20))
show(ellipse2)
ellipse3 = ellipse(w = 150, h = 150/3, fill = "#A21F2F", stroke = "brown") | repeat(9, rotate(angle=20))
show(ellipse3)
c2 = circle(r = 63, fill ="#F36636", stroke = "brown")
c3 = circle(r = 45, fill ="white", stroke = "brown")
x = combine([c2,c3])
show(x)
def square(color, side, color1):
    return rectangle(w=side, h=side, fill = color, stroke = color1)
sqr = square(side=63.5, color = "purple", color1 = "blue")|repeat(5, rotate(angle=30))
show(sqr)
c4 = circle(r=31.75, fill = "orange")
c5 = circle(r=20, fill = "pink")
y = combine([c4,c5])
show(y)
ellipse3 = ellipse(w = 20, h = 20/3, fill = "#a92822") | repeat(5, rotate(angle=36))
show(ellipse3)
c6 = circle(r=20/3, fill = "green")
c7= circle(r=3.5, fill = " lightgreen")
z = combine([c6,c7])
show(z)