Pookkalam by Hariprasad J

Code

largc = circle(r=150,fill="black")
a=rectangle(h=210,w=210,fill="#ff0000")| repeat(10, rotate(10))
b=rectangle(h=195,w=195,fill="#f9a004")| rotate (24.9)|repeat(10, rotate(10))
c=rectangle(h=182,w=182,fill="#f9e904")| rotate (29.9)|repeat(10, rotate(10))
d=rectangle(h=170,w=170,fill="white")| rotate (33.9)|repeat(10, rotate(10))
e=rectangle(h=160,w=160,fill="#04ddf9")| rotate (29.9)|repeat(10, rotate(10))
f=rectangle(h=150,w=150,fill="#143be8")| rotate (33.9)|repeat(10, rotate(10))
g=rectangle(h=140,w=140,fill="#96396e")| rotate (29.9)|repeat(10, rotate(10))
j=rectangle(h=130,w=130,fill="#f904f1")| rotate (33.9)|repeat(10, rotate(10))
rect1=rectangle(w=210,h=210,stroke="none")
rect2=rect1|rotate(45)
el1=ellipse(h=80,w=210,fill="pink")
el2=ellipse(h=80,w=210,fill="green")|rotate(45)
el3=ellipse(h=80,w=210,fill="blue")|rotate(90)
el4=ellipse(h=80,w=210,fill="yellow")|rotate(135)
c1=circle(r=75,fill="black")
c2=circle(r=70,fill="red")
a1=rectangle(h=90,w=90,fill="#04ddf9")| rotate (33.9)|repeat(10, rotate(10))
c3=rectangle(h=46,w=46,x=26,y=24,fill="orange",)
c4=rectangle(h=46,w=46,x=26,y=24,fill="yellow")
c5=c4|rotate(45)
c6=rectangle(h=46,w=46,x=26,y=24,fill="orange")
c7=c6|rotate(90)
c8=rectangle(h=46,w=46,x=26,y=24,fill="yellow")
c9=c8|rotate(135)
c10=rectangle(h=46,w=46,x=26,y=24,fill="orange")
c11=c10|rotate(180)
c12=rectangle(h=46,w=46,x=26,y=24,fill="yellow")
c13=c12|rotate(225)
c14=rectangle(h=46,w=46,x=26,y=24,fill="orange")
c15=c14|rotate(270)
c16=rectangle(h=46,w=46,x=26,y=24,fill="yellow")
c17=c16|rotate(315)
c18=rectangle(h=46,w=46,x=26,y=24,fill="orange")
c19=c18|rotate(360)
c20=rectangle(h=46,w=46,x=26,y=24,fill="yellow")
c21=c20|rotate(45)
show(c3,c5,c7,c9,c11,c13,c15,c17,c19,c21)
show(largc,a,b,c,d,e,f,g,j,rect1,rect2,el1,el2,el3,el4,c1,c2,a1,c3,c5,c7,c9,c11,c13,c15,c17,c19,c21)
x1,y1=-50,105
x2,y2=-105,105
x3,y3=-105,48
x4,y4=-77,77
x5,y5=-85,105
x6,y6=-105,85
x7,y7=-70,105
x8,y8=-105,70
l1=line(x1,y1,x2,y2)
l2=line(x2,y2,x3,y3)
l3=line(x1,y1,x3,y3)

h=l1+l2+l3
p1=point(x1,y1)
p2=point(x2,y2)
p3=point(x3,y3)
p4=point(x4,y4)
p5=point(x5,y5)
p6=point(x6,y6)
p7=point(x7,y7)
p8=point(x8,y8)
z1=polygon([p2,p4,p5],fill="white")
z2=polygon([p7,p4,p5],fill="green")
z3=polygon([p1,p4,p7],fill="#f4ab0e")#orange
z4=polygon([p8,p4,p6],fill="blue")
z5=polygon([p3,p4,p8],fill="yellow")
z6=polygon([p2,p4,p6],fill="#f40ee5")#pink
m=h+z1+z2+z3+z4+z5+z6
i=m|repeat(4,rotate(90))
k = circle(r=30,fill="blue")
l = circle(r=25,fill="#c804f9")
n = circle(r=20,fill="red")
p = circle(r=15,fill="green")
q = circle(r=10,fill="yellow")
r = circle(r=5,fill="#011111")
s = circle(r=2,fill="#04f9f9")
o=k+l+n+p+q+r+s
show(o)
show(h,i,o)