Pookkalam by Aswani Krishna.P

Code

print("HAPPY ONAM")
c1 = circle(r=150,stroke="none",fill="#FFBF00")
c2 = circle(r=140,stroke="none",fill="yellow")
show(c1,c2)
s = rectangle(w=200, h=200,stroke="white",stroke_width=5,fill="#8F00FF")
shape = s |rotate(45)
show(shape)
z1 = line(x1=0, y1=0, x2=100, y2=100)
z2 = line(x1=0, y1=0, x2=-100, y2=-100)
z3 = line(x1=0, y1=0, x2=100, y2=-100)
z4 = line(x1=0, y1=0, x2=-100, y2=100)
z5 = line(x1=0, y1=0, x2=0, y2=140)
z6 = line(x1=0, y1=0, x2=0, y2=-140)
z7 = line(x1=0, y1=0, x2=140, y2=0)
z8 = line(x1=0, y1=0, x2=-140, y2=0)
show(z1,z2,z3,z4,z5,z6,z7,z8)
c3=circle(x=67,y=67,r=45,stroke="none",fill="TOMATO")
c4=circle(x=-67,y=67,r=45,stroke="none",fill="TOMATO")
c5=circle(x=67,y=-67,r=45,stroke="none",fill="TOMATO")
c6=circle(x=-67,y=-67,r=45,stroke="none",fill="TOMATO")
show(c3,c4,c5,c6)
r=rectangle(w=140,h=140,stroke="yellow",fill="pink")
show(r)
c7=circle(r=50,stroke="none",fill="yellow")
c8=circle(r=45,stroke="none",fill="red")
show(c7,c8)
shape = rectangle(w=25, h=25,stroke="#00FF00") | repeat(10, rotate(60))
show(shape)
def dot(x, y):
    c = circle(x=x, y=y, r=10,stroke="none", fill="yellow")
    return c

d = dot(x=0, y=0)
show(d)