Pookkalam by NAFEELA N

Code

rhombus = circle(r=0)
for i in range(256):
    stroke=color(r=255-i, g=0, b=0)
    rhombus += rectangle(w=255, h=1, y=-125+i, stroke=stroke)

rhombus = rhombus | rotate(45) | scale(-0.2) | scale(y=0.3) | translate(x=110)
rhombus_flower = rhombus | repeat(36, rotate(10))


c1 = circle(r=100,fill="white")
r1 = rectangle(w=50,h=100, fill="orange", stroke="none")|repeat(12,rotate(50))
r2= rectangle(w=150,h=150,fill="red")|repeat(6,rotate(50))
c2= circle(r=25,fill="black")
mc=circle(r=72,fill="purple")
com= mc+r1+c1+r2+c2
show(rhombus_flower,com)
s1= ellipse(h=40,fill="green") | repeat (60, rotate(30)) 
s2= ellipse(h=40,fill="yellow") |repeat (80,  rotate(45)) 
s3= ellipse(h=40,fill="yellow") | repeat (100, rotate(90)) 
s4= ellipse(h=40,fill="yellow") | repeat (120, rotate(180)) 
s5= circle(r=30, fill="purple")
flower = ellipse(w=100,h=25,x=50,fill="white", stroke="white") | repeat(8, rotate(45)) | scale(0.2)

show(s1,s2,s3,s4,s5, flower)