Pookkalam by AVANI S

Code

c = circle(r=5,fill="violet",stroke="green")
s = rectangle(x=10,y=10,w=20,h=20,fill="red",stroke="green")|rotate(45)
s1 = rectangle(x=10,y=10,w=20,h=20,fill="yellow",stroke="green")
s2 = rectangle(x=10,y=10,w=20,h=20,fill="yellow",stroke="green")|rotate(90)
s3 = rectangle(x=10,y=10,w=20,h=20,fill="red",stroke="green")|rotate(135)
s4 = rectangle(x=10,y=10,w=20,h=20,fill="yellow",stroke="green")|rotate(180)
s5 = rectangle(x=10,y=10,w=20,h=20,fill="red",stroke="green")|rotate(225)
s6 = rectangle(x=10,y=10,w=20,h=20,fill="yellow",stroke="green")|rotate(270)
s7 = rectangle(x=10,y=10,w=20,h=20,fill="red",stroke="green")|rotate(315)
z = line(x1=0, y1=0, x2=20, y2=0,stroke="yellow")|repeat(45,rotate(1))
z2 = line(x1=0, y1=0, x2=22, y2=0,stroke="yellow")|rotate(45)
z1 = line(x1=20, y1=0, x2=20, y2=20,stroke="green")
c1=circle(r=28.5,fill="white",stroke="#c61922",stroke_width=2)
p1 = point(x=0, y=0)
p2 = point(x=0, y=50)
p3 = point(x=12, y=25)
p4 = point(x=-12,y=25)
p5 = point(x=0, y=73)
p6 = point(x=-73,y=0)
p7 =point(x=-8,y=28)
p8 = point(x=-15,y=26)
p9 = point(x=-25,y=58)
p10 = point(x=-21,y=30)
p11 = point(x=-6,y=32)
p12 = point(x=-30,y=70)
p13 = point(x=-24,y=20)
p14 = point(x=-3,y=38)
p15 = point(x=-36,y=84)
p16 = point(x=-33,y=-24)
p17 = point(x=5,y=42)
p18 = point(x=-38.5,y=90)
t1 = polygon([p7,p8,p9],fill="white",stroke="none")|repeat(8,rotate(45))
t2 = polygon([p11,p10,p12],fill="orange",stroke="none")|repeat(8,rotate(45))
t3 = polygon([p13,p14,p15],fill="yellow",stroke="none")|repeat(8,rotate(45))
t4 = polygon([p16,p17,p18],fill="#c61922",stroke_width=1.5,stroke="orange")|repeat(8,rotate(45))
shape = polygon([p1, p2, p3],fill="yellow",stroke="#c61922",stroke_width=2)|repeat(9,rotate(45))
t = polygon([p1, p2, p4],fill="orange",stroke="#c61922",stroke_width=2)|repeat(9,rotate(45))
c2 = circle(r=85,fill="#6eaf1d",stroke="#c61922",stroke_width=2)
o1 =point(x=0,y=50)
o2 = point(x=-2,y=84)
o3 = point(x=15,y=65)
o4 =point(x=0,y=50)
o5 = point(x=-20,y=63)
o6 = point(x=-1,y=85)
sq= polygon([o1,o2,o3],fill="violet",stroke="white",stroke_width=1.5)|repeat(8,rotate(45))
sq1= polygon([o4,o5,o6],fill="yellow",stroke="white",stroke_width=1.5)|repeat(8,rotate(45))
e =ellipse(h=214,w=74,fill="yellow",stroke="orange",stroke_width=5)|repeat(8,rotate(45))
c3=circle(r=110,fill="#c61922",stroke="white",stroke_width=1.5)
c4 = circle(r=12.5,x=0,y=124,fill="orange")|repeat(25,rotate(20))
c5 = circle(r=12.5,x=124,y=0,fill="yellow")|repeat(25,rotate(20))
c6 = circle(r=124,fill="white")
c7 = circle(r=130,fill="#6eaf1d")
c8 = circle(r=5,x=0,y=124,fill="white")|repeat(25,rotate(20))
c9 = circle(r=5,x=124,y=0,fill="violet")|repeat(25,rotate(20))
c10= circle(x=0,y=90,r=5,fill="white",stroke="#c61922",stroke_width=1.5)|repeat(8,rotate(45))
c11 = circle(r=3,x=39.5,y=96,fill="white")|repeat(8,rotate(45))

show(c7,c4,c5,c3,e,c2,c8,c9,c11,c10,sq1,sq,t4,t3,t2,t1,t,shape,c1,s1,s,s2,s3,s4,s5,s6,s7,z,z1,c)