Pookkalam by Anupama

Code

p7 = point(x=0, y=150)
p8 = point(x=-150, y=0)
p9 = point(x=0, y=-150)
p10 = point(x=150,y=0)
shape = polygon([p7, p8,p9,p10],fill="red")
show(shape)


s1 = ellipse(h=100,w=50,y=100,fill="orchid")
s2 = ellipse(h=50,w=100,x=-100,fill="pink")
s3 = ellipse(h=50,w=100,x=100,fill="pink")
s4 = ellipse(h=100,w=50,y=-100,fill="orchid")

show(s1,s2,s3,s4)




c1 = circle(fill="green")
show(c1)

p11 = point(x=0, y=100)
p12 = point(x=-100, y=0)
p13= point(x=0, y=-100)
p14 = point(x=100,y=0)
shape = polygon([p11, p12,p13,p14],fill="maroon")
show(shape)








p1 = point(x=0, y=0)
p2 = point(x=100, y=0)
p3 = point(x=0, y=100)

shape = polygon([p1, p2, p3],fill="gold")
show(shape)


p4 = point(x=0, y=0)
p5 = point(x=0, y=-100)
p6 = point(x=-100, y=0)

shape = polygon([p4, p5, p6],fill="gold")
show(shape)

c2 = circle(r=50,fill="crimson")
show(c2)

c3 = circle(r=25,fill="azure")
show(c3)