Pookkalam by GOPIKA MADHU GOPIKA MADHU

Code

r1=rectangle(w=212,h=212,fill="#005266",stroke="none") |repeat(10,rotate(10)) 
r2=rectangle(w=197,h=197,fill="#00ccff",stroke="none")|rotate(5)|repeat(10,rotate(10))
r3=rectangle(w=182,h=182,fill="#4ddbff",stroke="none")|repeat(10,rotate(10))
r4=rectangle(w=168,h=168,fill="#ccf5ff",stroke="none") |rotate(5)|repeat(10,rotate(10)) 
show(r1,r2,r3,r4)

z1 = line(x1=-0, y1=-71, x2=-15,y2=-50, stroke="Brown", stroke_width=8)
z2 = line(x1=-15, y1=-50, x2=-25, y2=-25, stroke="Brown", stroke_width=8)
z3 = line(x1=-25, y1=-25, x2=-32, y2=-0, stroke="Brown", stroke_width=8)
z4 = line(x1=-32, y1=0, x2=-33, y2=18, stroke="Brown", stroke_width=8)  

c2= circle(r=5, x=-30, y=25, fill="Chocolate", stroke="brown")
c3= circle(r=5, x=-40, y=25, fill="Chocolate", stroke="brown")
c4= circle(r=5, x=-35, y=35, fill="Chocolate", stroke="brown")
show(c2,c3,c4)


z5 = line(x1=-33,y1=30, x2=-55, y2=0, stroke="OliveDrab",stroke_width=2.5)
z6= line(x1=-55, y1=0, x2=-48,y2=-12, stroke="OliveDrab",stroke_width=2.5)
z7= line(x1=-48, y1=-12, x2=-42,y2=-23, stroke="OliveDrab",stroke_width=2.5)
show(z5,z6,z7)
z5 = line(x1=-33,y1=30, x2=-60,y2=13,stroke="OliveDrab",stroke_width=2.5)
z6= line(x1=-60, y1=13, x2=-70,y2=-12, stroke="OliveDrab",stroke_width=2.5)
z7= line(x1=-70, y1=-12, x2=-62,y2=-27, stroke="OliveDrab",stroke_width=2.5)
show(z5,z6,z7)
z5 = line(x1=-32,y1=31, x2=-60,y2=52,stroke="OliveDrab",stroke_width=2.5)
z6= line(x1=-60, y1=52, x2=-85,y2=25, stroke="OliveDrab",stroke_width=2.5)
z7= line(x1=-85, y1=25, x2=-82,y2=-7, stroke="OliveDrab",stroke_width=2.5)
show(z5,z6,z7)
z5 = line(x1=-32,y1=31, x2=-15,y2=15,stroke="OliveDrab",stroke_width=2.5)
z6= line(x1=-15, y1=15, x2=-17,y2=-10, stroke="OliveDrab",stroke_width=2.5)
show(z5,z6)
z5 = line(x1=-32,y1=31, x2=-15,y2=55,stroke="OliveDrab",stroke_width=2.5)
z6= line(x1=-15, y1=55, x2=-1,y2=25, stroke="OliveDrab",stroke_width=2.5)
show(z5,z6)

r5=rectangle(w=10,h=80,x=0,y=10,fill='chocolate')|translate(x=-35,y=-30)
show(r5)

r6=rectangle(w=30,h=30,x=10,y=-45,fill='yellow')
            
show(r6)
r7=rectangle(w=40,h=30,x=40,y=-45,fill='yellow')
show(r7)

t1=polygon([point(0,20), point(20, 50), point (-20,50)],fill='red')|rotate(180)|translate(x=20,y=40)
show(t1)