Pookkalam by Muhammed Basith

Code

c1 = circle(r=150,fill="#12263A",stroke_width=4)
c2 = circle(r=100,fill="yellow",stroke_width=3)
c3 = circle(r=50,fill="orange",stroke_width=2)
show(c1,c2,c3)
r1 = rectangle(x=-20,y=20,w=30,h=30,fill="#331832")
r2 = rectangle(x=20,y=20,w=30,h=30,fill="#331832")
r3 = rectangle(x=20,y=-20,w=30,h=30,fill="#331832")
r4 = rectangle(x=-20,y=-20,w=30,h=30,fill="#331832")
show(r1,r2,r3,r4)
#inner diamond
p1=point(x=0,y=0)
p2=point(x=20,y=20)
p3=point(x=0,y=50)
p4=point(x=-20,y=20)
shape = polygon([p1, p2, p3,p4],fill="pink")|repeat(4,rotate(90))
show(shape)
#small trig 8
p1=point(x=0,y=50)
p2=point(x=-30,y=60)
p3=point(x=-35,y=35)
shape = polygon([p1, p2, p3],fill="#009B72")|repeat(8,rotate(45))
show(shape)
#big trig 8
p1=point(x=-24.5,y=60)
p2=point(x=0,y=110)
p3=point(x=24.5,y=60)
shape = polygon([p1, p2, p3],fill="red")|repeat(8,rotate(45))
show(shape)
#trig in big trig
p1=point(x=-10,y=60)
p2=point(x=0,y=110)
p3=point(x=10,y=60)
shape = polygon([p1, p2, p3],fill="#171123")|repeat(8,rotate(45))
show(shape)
#outer trig 8
p1=point(x=0,y=-110)
p2=point(x=-55,y=-135)
p3=point(x=-78,y=-78)
shape = polygon([p1, p2, p3],fill="red")|repeat(8,rotate(45))
show(shape)
p1=point(x=0,y=-110)
p2=point(x=-55,y=-135)
p3=point(x=-78,y=-78)
shape = polygon([p1, p2, p3],fill="blue")|repeat(8,rotate(45))
show(shape)
c1=circle(x=-45,y=110,r=18,fill="#FCFF6C")|repeat(8,rotate(45))
c2=circle(x=-45,y=110,r=12,fill="red")|repeat(8,rotate(45))
c3=circle(x=-45,y=110,r=6,fill="green")|repeat(8,rotate(45))
show(c1,c2,c3)
#inv trig 8
p1=point(x=-25,y=150)
p2=point(x=0,y=110)
p3=point(x=25,y=150)
shape = polygon([p1, p2, p3],fill="red")|repeat(8,rotate(45))
show(shape)
s1=ellipse(x=0, y=130, w=10, h=35,fill="pink")|repeat(8,rotate(45))
show(s1)
c4 = circle(r=10,fill="white")
show(c4)