Pookkalam by Aneeka

Code

#center
center = circle (r=5, fill ="yellow", stroke = "none")
e1 = ellipse (w=30, h=6, stroke_width=1, fill="white", stroke="none")
e2 = e1 | repeat (4, rotate(45))

c1 = circle(r=16, fill="pink", stroke="none")
c2 = circle(r=20,fill="#b3ffee", stroke="none")
c20 = circle(r=24, fill="#62f0c3", stroke= "none")
c3 = circle(r=28,fill="#80ff99", stroke="none")



#mid
r=20
r0 = circle(y=28, r=r+2, fill="white",stroke="none")| repeat (6, rotate(60))
r1 = circle(y=28, r=r, fill="#ba0000",stroke="none")| repeat (6, rotate(60))
r2 = circle(y=28, r=r-5,fill="#ff00a2", stroke="none") | repeat (6, rotate(60))
r3 = circle(y=28, r=r-10,fill="pink",stroke="none") | repeat (6, rotate(60))
r30=circle(y=28, r=r-15,fill="#ffd6fc", stroke="none") | repeat (6, rotate(60))
r300=circle(y=28, r=r-17, fill="white", stroke="none") | repeat (6, rotate(60))



#flowers
e300=ellipse(y=42, h=26, w=7, fill ="#f9ffa6",stroke="none") | repeat (40, rotate(10))
e30 = ellipse(y=46,h=28, w=8, fill="#f5ff6b",stroke="none") | repeat (40, rotate(10))
e3 = ellipse(y=48, h=30, w=10,fill="#fc902b",stroke="none") | repeat (40, rotate(10))
e35 = ellipse(y=50, h=38, w=10, fill="#871414",stroke="none") | repeat (40, rotate(10))
e4 = ellipse(y=52, h=40, w=10,fill="#940000",stroke="none") | repeat (40, rotate(10))
                                                   


#star
r4= rectangle (h=130, w=130,fill="#d1eaff",stroke="none")
r5 = r4 | rotate (45)
r40= rectangle (h=120, w=120,fill="#89c4f5", stroke="none")
r400= r40 | rotate (45)
r4000 = rectangle(h=110, w=110,fill="white", stroke="none")
r40000 = r4000 | rotate (45)


#bigcirc
c4 = circle(r=78, fill="#e0696b",stroke="none")
c5 = circle(r=80, fill="white", stroke="none")
c50 = circle (r=85, fill="#e68c8d", stroke="none")
c500 = circle(r=89,fill="#8c065b", stroke="none")
c6 = circle(r=93, fill="#963233",stroke="none")


#outersmolcirc
ci = circle(y=93,r=4,fill="yellow",stroke="none") | repeat (12, rotate(30))
ci1 = circle(y=93, r=8,fill="#2bf070",stroke="none")| repeat (12, rotate(30))
ci2= circle (y=93, r=12, fill = "#00d115",stroke="none")| repeat (12, rotate(30))
ci3= circle (y=93, r=14, fill = "#095213", stroke="none") | repeat (12, rotate(30))
ci4=circle (y=93, r=16, fill= "white" , stroke="none") | repeat (12, rotate(30))

#outerlayer
o0 = ellipse (y=90, h=30, w=6, fill="white",stroke="none") | repeat (72, rotate(5))
o = ellipse(y=95, h=30, w=8,fill="#f9ffa6",stroke="none") | repeat (72, rotate(5))
o1 = ellipse(y=100, h=35,w=8,fill="#f5ff6b",stroke="none") | repeat (72, rotate(5))
o2 = ellipse(y=107, h=36, w=10,fill="#effc3a",stroke="none") | repeat (72, rotate(5))
o3 = ellipse(y=112, h=38, w=12, fill="#fcd838",stroke="none") | repeat (72, rotate(5))
o4= ellipse(y=115, h=40, w=14, fill="#fc902b",stroke="none") | repeat (72, rotate(5))
o5 = ellipse(y=119, h=42, w=16, fill="#d40808",stroke="none") | repeat (72, rotate(5))
o6 = ellipse(y=122, h=46, w=20, fill = "#700101",stroke="none") | repeat (72, rotate(5))


#show
show(o6,o5,o4,o3,o2,o1,o,o0,ci4,ci3, ci2, ci1, ci,c6,c500,c50,c5,c4,r5,r4,r40,r400,r4000,r40000,
     e4,e35,e3,e30,e300,r0,r1,r2,r3,r30,r300,c3,c20,c2,c1,e2,center)