Pookkalam by R GOPIKA KRISHNAN

Code

c = circle(r=144,fill='blue',stroke='green',stroke_width=10)
show(c)

p1= point(0,142)
p2= point(-142,0)
p3= point(0,-142)
p4= point(142,0)

diamond = polygon([p1,p2,p3,p4],fill='gold',stroke='white',stroke_width=5)
show(diamond)
fill= color(r=0,g=100,b=0,a=1.0)
c3 = circle(r=100,fill=fill,stroke='green',stroke_width=2)
show(c3)
fill= color(r=255,g=0,b=0,a=0.7)
f1= ellipse(fill=fill,stroke='pink',stroke_width=4) 
f2= f1 | rotate(45)
f3= f2 | rotate(45)
f4= f3 | rotate(45)
show(f1,f2,f3,f4)
l1=rectangle(h=90,w=90,fill="black",stroke="none")|rotate(60)|repeat(10,rotate(10))
l2=rectangle(h=70,w=70,fill="white",stroke="none")|rotate(65)|repeat(10,rotate(10))
l3=rectangle(h=60,w=60,fill="navy",stroke="none")|rotate(70)|repeat(10,rotate(10))
l4=rectangle(h=50,w=50,fill="mediumblue",stroke="none")|rotate(75)|repeat(10,rotate(10))
l5=rectangle(h=40,w=40,fill="royalblue",stroke="none")|rotate(80)|repeat(10,rotate(10))
l6=rectangle(h=30,w=30,fill="plum",stroke="none")|rotate(85)|repeat(10,rotate(10))
l7=rectangle(h=20,w=20,fill="LavenderBlush",stroke="none")|rotate(90)|repeat(10,rotate(10))
l8=rectangle(h=10,w=10,fill="darkgreen",stroke="none")|rotate(95)|repeat(10,rotate(10))


show(l1,l2,l3,l4,l5,l6,l7,l8)
fill= color(r=255,g=255,b=255,a=1.0)
c1 = circle(r=10,fill=fill,stroke='red',stroke_width=2)
c2 = circle(r=5,stroke='darkgreen',stroke_width=2)
show(c1,c2)