Pookkalam by Prabanj K

Code

#outer layer 1 circle
circle1 = circle(r=150, fill="black")

#outer layer 2 inside circle 1
rectangle1 = rectangle(w=209, h=209, fill="#E60000", stroke="none") | repeat(20, rotate(50))
rectangle2 = rectangle(w=192, h=192, fill="#FF8C19", stroke="none") | rotate(15)| repeat(20, rotate(50))
rectangle3 = rectangle(w=178, h=178, fill="#FFE135", stroke="none") | repeat(20, rotate(50))
rectangle4 = rectangle(w=166, h=166, fill="#FFFFFF", stroke="none") | rotate(15)|repeat(20,rotate(50))

#middle layer 2nd circle
circle2 = circle(r=106, fill="black", stroke="none")

#inside 2nd circle
rectangle5 = rectangle(w=149, h=149,fill="#861E1E", stroke="none")|rotate(15)|repeat(4, rotate(30))
rectangle6 = rectangle(w=135, h=135,fill="#FF4500", stroke="none")| rotate(15)| repeat(12, rotate(30))
rectangle7 = rectangle(w=121, h=121,fill="#FFE135", stroke="none")| rotate(15)| repeat(12, rotate(30))
ellipse1 = ellipse(w=13, h=211, fill = "#093300")| rotate(15)| repeat(12, rotate(30))

#middle layer 3rd circle
circle3 = circle(r=70, fill="#093300", stroke="none")

#inside 3rd circle
rectangle8 = rectangle(w=99, h=99, fill="#E60000", stroke="none") | rotate(15) | repeat(2, rotate(45))
rectangle9 = rectangle(w=82, h=82, fill="#800080", stroke="none") | rotate(35) | repeat(2, rotate(45))
ellipse2 = ellipse(w=90, h=40, fill="#990000") | repeat(40, rotate(30)) 

#central layer 4th circle
circle4 = circle(r=37, fill="#093300")

#inside 4th circle
circle5 = circle(r=30, fill="#009900")
ellipse3 = ellipse(w=60, h=10, fill="#E64C00", stroke="none") | repeat(6, rotate(30)) | scale(0.95)
circle6 = circle(r=8, fill="#009900", stroke="#FFFF80", stroke_width=5)

#show all 
show(circle1, rectangle1, rectangle2, rectangle3, rectangle4, circle2, rectangle5, rectangle6, rectangle7, ellipse1, circle3, rectangle8, rectangle9, ellipse2, circle4, circle5, ellipse3, circle6)