Pookkalam by RIFANA AC

Code

shape = ellipse(w=250,h=100,fill="red",stroke="green",stroke_width=9) | repeat(24, rotate(10))
shape1 = circle(r=8,x=100,y=0,fill="white",stroke="none")|repeat(50,rotate(10))
shape2 = rectangle(w=150,h=150,fill="white",stroke="none")|repeat(50,rotate(10))
shape3 = rectangle(w=130,h=130,fill="#000066",stroke="none")|repeat(50,rotate(10))
shape4 = ellipse(y=80,w=20,h=40,stroke="none",stroke_width = 1,fill="yellow")|repeat(50,rotate(10))
shape5 = ellipse(x=-80,y=0,w=40,h=10,fill="#ff6600",stroke="none")
def dot(x, y):
    c = circle(x=x, y=y, r=5, fill="black")
    return c

d = dot(x=-80, y=0)
shape6 =shape5+d
shape7 =shape6|repeat(18,rotate(30))
shape8 =line(x1=0,y1=0,x2=60,y2=0,stroke="#ff99ff",stroke_width=4)|repeat(18,rotate(30))
r =rectangle(x=0,y=0,w=60,h=60,fill="#ff99ff",stroke="none")|repeat(20,rotate(30))
shape9 =circle(r=5,x=20,y=0,stroke="#cc0066",stroke_width=3)|repeat(18,rotate(30))
shape10 =ellipse(w=20,h=10,x=0,y=0,stroke="#000066",stroke_width=2)|repeat(8,rotate(30))


show(shape,shape1,shape2,shape3,shape4,shape5,shape6,shape7,shape8,r,shape9,shape10)