Pookkalam by Drishya K

Code

c1 = circle(x=0,y=0,r=10,fill="brown")
c2= circle(x=0,y=0,r=30,fill="orange")
c3=circle(x=0,y=0,r=50,fill="yellow",stroke="none")
s1=rectangle(x=0,y=0,w=100,stroke="darkgreen",stroke_width=5,fill="green")
c4=circle(x=-50,y=50,r=50,fill="orange")
c5=circle(x=50,y=50,r=50,fill="orange")
c6=circle(x=50,y=-50,r=50,fill="orange")
c7=circle(x=-50,y=-50,r=50,fill="orange")
c8=circle(x=0,y=0,r=85,fill="purple")
c9=circle(x=0,y=0,r=105,fill="navy")
c10=circle(x=0,y=0,r=150,fill="gold")
c11=circle(x=0,y=0,r=120,fill="green")
p1= point(x=150, y=0)

p2 = point(x=0, y=150)


p3= point(x=-150, y=0)

p4 = point(x=0, y=150)

p5 = point(x=-150, y=0)

p6 =point(x=0, y=-150)



p7 = point(x=150, y=0)

p8= point(x=0, y=-150)

shape=polygon([p1,p2,p3,p4,p5,p6,p7,p8],fill="purple")

shape1=shape|rotate(30)
shape2=shape|rotate(60)

p9= point(x=80, y=0)

p10 = point(x=0, y=80)


p11= point(x=-80, y=0)

p12= point(x=0, y=80)

p13 = point(x=-80, y=0)

p14 =point(x=0, y=-80)



p15 = point(x=80, y=0)

p16= point(x=0, y=-80)

poly2=polygon([p9,p10,p11,p12,p13,p14,p15,p16],fill="brown",stroke="",stroke_width=1)

shape3=poly2|rotate(30)
shape4=poly2|rotate(60)

show(c10,shape,shape1,shape2,c11,c9,c8,c7,c6,c5,c4,poly2,shape3,shape4,s1,c3,c2,c1)