Pookkalam by AMEENA FOUZ K

Code

oc1=circle(r=150,fill="#336600",stroke="none")
show(oc1)
or11=rectangle(w=210,h=210,fill="#800000",stroke="none")|repeat(9,rotate(40))
or1=or11|rotate(5)
or2=rectangle(w=200,h=200,fill="#cc0000",stroke="none")|repeat(9,rotate(40))

or33=rectangle(w=190,h=190,fill="#FFA800",stroke="none")|repeat(9,rotate(40))
or3=or33|rotate(5)
or4=rectangle(w=180,h=180,fill="#ffff00",stroke="none")|repeat(9,rotate(40))

or55=rectangle(w=165,h=165,fill="#FFFFFF",stroke="none")|repeat(9,rotate(40))
or5=or55|rotate(5)

show(or1,or2,or3,or4,or5)




s0=ellipse(x=-75,y=0,w=150,h=95,fill="#669900",stroke="none")
s1=ellipse(x=-75,y=0,w=150,h=5,fill="#FFFFFF",stroke="none")
s2=ellipse(x=-75,y=0,w=150,h=20,fill="#ffff00",stroke="none")
s3=ellipse(x=-75,y=0,w=150,h=40,fill="#FFA800",stroke="none")
s4=ellipse(x=-75,y=0,w=150,h=65,fill="#cc0000",stroke="none")
s5=ellipse(x=-75,y=0,w=150,h=80,fill="#800000 ",stroke="none")          
show(s0,s5,s4,s3,s2,s1)
r0=s0|repeat(6,rotate(60))
r1=s1|repeat(6,rotate(60))
r2=s2|repeat(6,rotate(60))            
r3=s3|repeat(6,rotate(60))           
r4=s4|repeat(6,rotate(60))            
r5=s5|repeat(6,rotate(60))
show(r0,r5,r4,r3,r2,r1)

a6=rectangle(w=130,h=130,fill="#ffff00",stroke="none")|repeat(10,rotate(15))
show(a6)

a55=rectangle(w=120,h=120,fill="#FFA800",stroke="none")|repeat(6,rotate(15))
a5=a55|rotate(7.5)
show(a5)



a4=rectangle(w=110,h=110,fill="#cc0000",stroke="none")|repeat(20,rotate(15))
show(a4)


a2=rectangle(w=100,h=100,fill="#800000",stroke="none")|repeat(10,rotate(15))
a3=a2|rotate(7.5)
show(a3)

a1=rectangle(w=90,h=90,fill="#330000",stroke="none")|repeat(10,rotate(15))
show(a1)

c=circle(r=50,fill="#ff9900",stroke_width=(5),stroke="#ff66ff")
show(c)

ic1=circle(r=10,fill="#ffff4d",stroke="none")
ic2=circle(r=20,fill="#ffd11a",stroke="none")
ic3=circle(r=30,fill="#ffff00",stroke="none")
ic4=circle(r=40,fill="fff800",stroke="none")
ic5=circle(x=-15,y=25,r=10,fill="white",stroke="none")
show(ic4,ic3,ic2,ic1,ic5)

p11=point(-46,-10)
p12=point(-30,19)
p13=point(-10,-10)
p14=point(10,19)
p15=point(25,-10)
p16=point(35,19)
p17=point(46,-10)
shape1=polygon([p11,p12,p13,p14,p15,p16,p17],fill="#00cc00",stroke="none")
show(shape1)


p1=point(30,30)
p2=point(30,0)
p3=point(0,-30)
p4=point(-40,-30)
p5=point(-40,-20)
p6=point(0,-20)
p7=point(20,0)
p8=point(30,30)
shape=polygon([p1,p2,p3,p4,p5,p6,p7,p8],fill="black")
show(shape)