Pookkalam by Haridev pp

Code

def createcircle(number,x1,y1,radius):
    orange1=255
    orange2=80
    orange3=0
    for i in range(number):
        c1=circle(x=x1,y=y1,r=radius,fill=color(r=179,g= 27, b=27))
        show(c1)
        orange1=orange1-3
        orange2=orange2-8
        radius=radius-radius/number

createcircle(1,0,0,150)
side1=100
p1=point(x=-80,y=0)
p2=point(x=0,y=80)
p3=point(x=80,y=0)
sh=polygon([p1,p2,p3],fill=color(r=102, g=176, b=50))|translate(x=0,y=-18)|scale(0.6)
sh=sh|repeat(10,rotate(12))|scale(1.3)
sh1=sh|repeat(10,rotate(-12))|scale(1.3)
shape1 = rectangle(w=200, h=200,fill=color(r=255, g=219, b=73)) | repeat(9, rotate(10)|scale(0.99))
shape2 = rectangle(w=130, h=200,fill=color(r=255, g=140,b=0)) | repeat(40, rotate(-9))|scale(0.85)
#shape3 = rectangle(w=130, h=130,fill=color(r=255,g=20,b=147)) | repeat(9, rotate(-10))
#shape4=ellipse(w=70,h=60,x=0,y=10)|repeat(6,rotate(60))
sh3=circle(x=0,y=0,r=25,fill=color(r=240, g=240, b=240))|translate(x=0,y=25)|repeat(10,rotate(40))|scale(0.9)
sh3=sh3|translate(x=2,y=-3)
sh6=circle(x=0,y=0,r=20,fill=color(r=255, g=245, b=238))|translate(x=2,y=-3)


shape5=shape1+shape2+sh+sh1+sh3+sh6
show(shape5)