Pookkalam by Ajith Shine

Code

rect= rectangle( w=300, h=300, fill="rgb(255, 245, 245)")
show(rect)

c = circle(fill="rgb(255, 179, 0)",r=125,stroke="black",stroke_width=4)
b1 = point(x=0, y=115)
b2 = point(x=-100, y=-100)
b3 = point(x=100, y=-100)
tri = polygon([b1, b2, b3],stroke_width=3,stroke="rgb(45, 110, 35)")
p = tri| repeat(60, rotate(10)) 
c2=circle(fill="yellow",stroke_width=3)
show(c,p,c2)

p1 = point(x=0, y=100)
p2 = point(x=30, y=95)
p3 = point(x=0, y=0)
s = polygon([p1, p2, p3],stroke_width=2,stroke="black",fill="rgb(255, 205, 42)")
shape= s|repeat(10, rotate(40))
show(shape)

ptl2 = ellipse(w=160, h=30, fill="rgb(228, 224, 17)", stroke="brown", stroke_width=3) | repeat(30, rotate(15))
ptl1 = ellipse(w=130, h=25, fill="rgb(193, 248, 10)", stroke="brown") | repeat(30, rotate(10)) 
ptl = ellipse(x=0,w=101, h=20, fill="yellow", stroke="brown") | repeat(25, rotate(10)) 
c1= circle(r=30,fill="chartreuse", stroke="green", stroke_width=4)
show(ptl2,ptl1,ptl,c1)

li=line(x1=0, y1=30, x2=30, y2=0, stroke="rgb(177, 0, 184)")
l=li|repeat(40, rotate(10))
lj=line(x1=10, y1=10, x2=-10, y2=-10, stroke="rgb(249, 75, 255)")
l1=lj|repeat(70, rotate(15))
show(l,l1)

out1=ellipse(x=115, y=115,w=30, h=8, fill="rgb(249, 75, 255)", stroke="navy") | repeat(130, rotate(7))
out= ellipse(x=125, y=125,w=50, h=5, fill="rgb(217, 0, 224)", stroke="rgb(154, 0, 160)", stroke_width=4) | repeat(300, rotate(5))
show(out,out1)