Pookkalam by Thushar Vinod V

Code

c1 = circle(r=150, fill="#000000")

r1 = rectangle(w=212, h=212, fill="#003b0e", stroke="none") | repeat(9, rotate(10))
r2 = rectangle(w=196, h=196, fill="#a10000", stroke="none") | rotate(15) | repeat(9, rotate(10))
r3 = rectangle(w=181.5, h=181.5, fill="#e64805", stroke="none") | rotate(20) | repeat(9, rotate(10))
r4 = rectangle(w=168, h=168, fill="#ff8503", stroke="none") | rotate(25) | repeat(9, rotate(10))
r5 = rectangle(w=155.5, h=155.5, fill="#ffd503", stroke="none") | rotate(30) | repeat(9, rotate(10))
r6 = rectangle(w=143.5, h=143.5, fill="#ffee6b", stroke="none") | rotate(35) | repeat(9, rotate(10))
r7 = rectangle(w=132.5, h=132.5, fill="#fffded", stroke="none") | rotate(40) | repeat(9, rotate(10))

c2 = circle(r=85, fill="#50005e", stroke="#003b0e", stroke_width=5)
c3 = circle(r=33, x=40, y=30, fill="#a10000", stroke="none") + circle(r=27, x=40, y=30, fill="#e64805", stroke="none") + circle(r=22, x=40, y=30, fill="#ff8503", stroke="none") + circle(r=17, x=40, y=30, fill="#ffee6b", stroke="none") + circle(r=12, x=40, y=30, fill="#ffcff1", stroke="none")| repeat(8, rotate(45))
c5 = circle(r=56, fill="#632102", stroke="#632102")

e2 = ellipse(w=15, h=10, x=10, y=0, fill="#e80000", stroke="#ff0099", stroke_width=1) | repeat(9, rotate(45))

rs1 = rectangle(w=80, h=80, fill = "#003b0e", stroke="none") | repeat(10, rotate(30))
rs2 = rectangle(w=70, h=70, fill = "#a10000", stroke="none") | repeat(9, rotate(30))
rs3 = rectangle(w=60, h=60, fill = "#e64805", stroke="none") | repeat(9, rotate(60))
rs4 = rectangle(w=50, h=50, fill = "#ff8503", stroke="none") | repeat(9, rotate(30))
rs41 = rectangle(w=40, h=40, fill = "#ffee6b", stroke="none") | repeat(9, rotate(60))
rs42 = rectangle(w=30, h=30, fill = "#fffded", stroke="none") | repeat(9, rotate(30))

c_inner = circle(r=3, fill="yellow", stroke="none")
c6 = circle(r=1, x=47, y=36, fill="#abfff7", stroke="none") | repeat(8, rotate(45))
e3 = ellipse(w=2.5, h=7, fill="#ff0008", stroke="none") | repeat(9, rotate(45)) | translate(x=47, y=36)
e4 = e3 | repeat(8, rotate(45))
r_inner = rectangle(w=2, h=5.7, stroke_width=0.1) | repeat(20, rotate(20))

show(c1, r1, r2, r3, r4, r5, r6, r7, c2, c3, e4, c5, c6, rs1, rs2, rs3, rs4, rs41, rs42, e2, c_inner, r_inner)