Pookkalam by Ashly Ann Mathew

Code

circleyellw3= circle(r=46, fill="#f2e7cc", stroke="none")
show(circleyellw3)
c2=circle(x=0,y=0,r=80,fill='black')
show(c2)

c1=circle(x=0,y=0,r=50,fill='#fabda2')

show(c1)

inds1= ellipse(w=15,h=58,fill="red" , stroke="none") | translate(x=-10,y=15) | rotate(-14)
inds2= ellipse(w=25,h=50,fill="#df6802" , stroke="none") | translate(x=-5,y=15) | rotate(-9)
inds3= ellipse(w=30,h=35,fill="#df6802" , stroke="none") | translate(x=-5,y=15) | rotate(-23)
inds4= ellipse(w=20,h=38,fill="#df6802" , stroke="none") | translate(x=-5,y=16) | rotate(-19)
inds5= ellipse(w=25,h=35,fill="#df6802" , stroke="none") | translate(x=-5,y=16) | rotate(-25)
inds6= ellipse(w=30,h=36,fill="#df6802" , stroke="none") | translate(x=-5,y=16) | rotate(-22)
inds7= ellipse(w=28,h=41.5,fill="#df6802" , stroke="none") | translate(x=-5,y=16) | rotate(-14.5)
inds8= circle(r=3.6,fill="#df6802" , stroke="none") | translate(x=4.9,y=33) 
inds9= circle(r=4,fill="#df6802" , stroke="none") | translate(x=1.3,y=37.5) 
c=combine([inds1,inds2,inds3,inds4,inds5,inds6,inds7,inds8,inds9]) 
show(c)

inds11= ellipse(w=15,h=58,fill="#d7a906" , stroke="none") | translate(x=-10,y=15) | rotate(-14)
inds21= ellipse(w=25,h=50,fill="#d7a906" , stroke="none") | translate(x=-5,y=15) | rotate(-9)
inds31= ellipse(w=30,h=35,fill="#d7a906" , stroke="none") | translate(x=-5,y=15) | rotate(-23)
inds41= ellipse(w=20,h=38,fill="#d7a906" , stroke="none") | translate(x=-5,y=16) | rotate(-19)
inds51= ellipse(w=25,h=35,fill="#d7a906" , stroke="none") | translate(x=-5,y=16) | rotate(-25)
inds61= ellipse(w=30,h=36,fill="#d7a906" , stroke="none") | translate(x=-5,y=16) | rotate(-22)
inds71= ellipse(w=28,h=41.5,fill="#d7a906" , stroke="none") | translate(x=-5,y=16) | rotate(-14.5)
inds81= circle(r=3.6,fill="#d7a906" , stroke="none") | translate(x=4.9,y=33) 
inds91= circle(r=4,fill="##d7a906" , stroke="none") | translate(x=1.3,y=37.5) 
c1=combine([inds11,inds21,inds31,inds41,inds51,inds61,inds71,inds81,inds91]) | rotate(45)
show(c1)

a1=c |rotate(90)
a2=c1 | rotate(90)
a3=c |rotate(180)
a4=c1 |rotate(180)
a5=c|rotate(270)
a6=c1|rotate(270)
insdcomb=combine([a1,a2,a3,a4,a5,a6])
show(insdcomb)


inds5edit= ellipse(w=25,h=35,fill="#df6802" , stroke="none") | translate(x=-5,y=16) | rotate(-25)
show(inds5edit)
inds5edityellw= ellipse(w=15,h=27,fill="#d7a906" , stroke="none") | translate(x=5,y=16) | rotate(29.5)
show(inds5edityellw)

innerellipse= circle(r=18,fill="#ebe1b2" , stroke="none") | repeat(1, rotate(70)) |rotate(-10)
show(innerellipse)
innerellipse11= circle(r=5,fill="#410d0a" , stroke="none") | repeat(1, rotate(70)) |rotate(-10)
show(innerellipse11)


def triangle(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t1 = triangle() | scale(0.6)| translate(x=60) | rotate(45) | repeat(4, rotate(90))
show(t1)

def triangle1(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t2= triangle() | scale(0.6)| translate(x=60) | rotate(125) | repeat(4, rotate(90))
show(t2)
def triangle2(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t3= triangle() | scale(0.6)| translate(x=60) | rotate(10) | repeat(4, rotate(90))
show(t3)
def triangle1(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t4= triangle() | scale(0.6)| translate(x=60) | rotate(50) | repeat(4, rotate(90))
show(t4)
def triangle5(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t5= triangle() | scale(0.6)| translate(x=60) | rotate(20) | repeat(4, rotate(90))
show(t5)
def triangle1(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t2= triangle() | scale(0.6)| translate(x=60) | rotate(125) | repeat(4, rotate(90))
show(t2)
def triangle1(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t2= triangle() | scale(0.6)| translate(x=60) | rotate(125) | repeat(4, rotate(90))
show(t2)
def triangle6(fill="#FF4500", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t6= triangle() | scale(0.6)| translate(x=60) | rotate(30) | repeat(4, rotate(90))
show(t6)
def triangle7(fill="blue", stroke="black", x=0,y=0):

    return polygon([point(x=0,y=0),point(x=50,y=50),point(x=50,y=-50)],fill=fill,stroke=stroke)| translate(x=x,y=y)



t7= triangle() | scale(0.6)| translate(x=70) | rotate(30) | repeat(4, rotate(90))
show(t6)