Pookkalam by Allen Fencer

Code

#BY ALLEN FENCER
bg=rectangle(x=0,y=0,w=300,h=300,fill='#FFFFFF',stroke='none')
circleBorder=circle(r=5,x=0,y=145,fill='#2E7D32',stroke='none')|repeat(100,rotate(4))
outerCircle = circle(r=145,stroke_width=3,fill='#BF360C',stroke='#2E7D32')
outerBox=rectangle(x=0,y=0,w=200,h=200,fill='#F4511E',stroke='none')|repeat(24,rotate(10))
innerBox=rectangle(x=0,y=0,w=185,h=185,fill='#FF9100',stroke='none')|repeat(24,rotate(10))
innerEllipse=ellipse(x=0,y=0,w=50,h=235,fill='#FFD600',stroke='#FFFFFF',stroke_width=1)|repeat(12,rotate(15))
show(bg,circleBorder,outerCircle,outerBox,innerBox,innerEllipse)

e1=ellipse(w=50,h=200,fill='#311B92',stroke='none')
e2=ellipse(w=40,h=190,fill='#5E35B1',stroke='none')
e3=ellipse(w=30,h=180,fill='#7E57C2',stroke='none')
e4=ellipse(w=20,h=170,fill='#B39DDB',stroke='none')
s1=combine([e1,e2,e3,e4]) |repeat(15,rotate(15))
show(s1)

middleCircle1=circle(fill='#1A237E',r=75,stroke='none')
show(middleCircle1)
middleCircle2=circle(fill='#3F51B5',r=67,stroke='none')
show(middleCircle2)
myellow=rectangle(w=90,h=90,fill='yellow',stroke='none')|repeat(20,rotate(50))
show(myellow)
mred=rectangle(w=82,h=82,fill='red',stroke='none')|rotate(15)|repeat(20,rotate(50))
show(mred)
morange=rectangle(w=75,h=75,fill='orange',stroke='none')|rotate(0)|repeat(20,rotate(50))
show(morange)
mwhite=rectangle(w=69,h=69,fill='white',stroke='none')|rotate(15)|repeat(20,rotate(50))
show(mwhite)
myellow1=rectangle(w=63,h=63,fill='yellow',stroke='none')|rotate(0)|repeat(20,rotate(50))
show(myellow1)

p1=point(x=0,y=40)
p2=point(x=20,y=-20)
p3=point(x=-20,y=-20)
d1=polygon([p1,p2,p3],fill='#BF360C',stroke='#FF5722',stroke_width=2)| repeat(15,rotate(30))
show(d1)

e5=ellipse(w=20,h=40,fill='#FF6F00',stroke='none')
e6=ellipse(w=15,h=30,fill='#FF8F00',stroke='none')
e7=ellipse(w=10,h=20,fill='#FDD835',stroke='none')
e8=ellipse(w=5,h=10,fill='#FFFDE7',stroke='none')
s2=combine([e5,e6,e7,e8]) |repeat(8,rotate(30))
show(s2)