Pookkalam by Dencymol Baby

Code

def triangle(x1,y1,x2,y2,x3,y3):
    p1 =point (x1,y1)
    p2 =point (x2,y2)
    p3 =point (x3,y3)
    shape =polygon ([p1,p2,p3],fill="yellow",stroke="none")
    return shape
c= circle(r=150,fill="#f73e00",stroke="darkbrown",stroke_width=4)
c1=circle(r=130,fill="green",stroke="red",stroke_width=1)
c2=circle(r=120,fill="pink",stroke="none")
c3=circle(r=100,fill="white",stroke="pink")
r5 = rectangle(w=185,h=185,fill="purple",stroke="none")|repeat(10,rotate(20))
r6 = rectangle(w=165,h=165,fill="#f00098",stroke="none")|repeat(10,rotate(30))
s = triangle(x1=-20, y1=2, x2=20, y2=2, x3=0, y3=20)
r=circle(r=15.2,fill="blue",stroke="none")
e=ellipse(w=40,h=26,fill="yellow",stroke="none")
t=combine([s,r,e])
l1=t|translate(y=130)|repeat(21,rotate(18))
c4= circle(r=75, fill= "#6b0610", stroke="none")
show(c,l1,c1,r5,c2,r6,c3,c4)
z1= circle(r=145, fill= "black", stroke="none")
z20= circle(r=150, fill="red",stroke="none")
z2= circle(r=75, fill= "#6b0610", stroke="none")

z3 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")
z4 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(45)
z5 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(90)
z6 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(135)
z7 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(180)
z8 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(225)
z9 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(270)
z10 = circle(r=19, x=0, y=50, fill="#f2ac33", stroke="none")|rotate(315)
z11 = combine([z3,z4,z5,z6,z7,z8,z9,z10])

z3 = circle(r=15, x=0, y=38, fill="blue", stroke="none")
z4 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(45)
z5 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(90)
z6 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(135)
z7 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(180)
z8 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(225)
z9 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(270)
z10 = circle(r=15, x=0, y=38, fill="blue", stroke="none")|rotate(315)
z12 = combine([z3,z4,z5,z6,z7,z8,z9,z10])
z13 = circle(r=14, x=0, y=30, fill="yellow", stroke="none")|repeat(16, rotate(45))
z14 = circle(r=37, fill="white", stroke="none")
z15 = circle(r=32,fill="orange", stroke="none")
zl1 = line(x1=-50,y1=0,x2=0,y2=0) | (rotate(22))
zl2 = zl1 | repeat(8, rotate(45))
z16 = circle(r=32,fill="red", stroke="none")
z17 = circle(r=7, x=0, y=20, fill="yellow", stroke="none")|repeat(10, rotate(36))
z18 = circle(r=20,fill="#ff6f00", stroke="green", stroke_width=5)
z19 = circle(r=10,fill="red", stroke="white", stroke_width=2)
show(z2,z11,z12,z13,z14,z15,zl1,zl2,z16,z17,z18,z19)
y=circle(r=12,fill="red",stroke="none")
y1=y|translate(y=87.25)|repeat(15, rotate(36))
show(y1)