Pookkalam by Christeena Zacharia

Code

c = circle()
show(c)
c = circle()
show(c)
c = circle()
show(c)
fill = color(r=150, g=0, b=0)
c1=circle (r=140,fill=fill,stroke="none")
c2=circle(r=124,fill="yellow",stroke="none")
c3=circle (r=100,stroke="none",fill="forestgreen")
c4=circle (r=95,stroke="white",fill="pink")
c5=circle (r=90,stroke="white",fill="green")
show(c1,c2,c3,c4,c5)
fill = color(r=150, g=0, b=0)
s1 = ellipse(stroke="pink",fill="indianred")
s2 = s1 | repeat(10,rotate(36))
show(s2)



a3= circle(x=137,y=0,r=12,stroke=fill,stroke_width=2,fill="lightcoral")

a2= circle(x=141,y=0,r=8,stroke="none",fill="crimson")
a1 = circle(x=145, y=0, r=4,fill="yellow",stroke="none")


a=combine([a3,a2,a1])


q= a | repeat(36, rotate(10))
show(q)


p=rectangle(x=120,y=0,w=4,h=6,stroke="lightcoral",stroke_width=2,fill="coral")
p1=p | repeat(72,rotate(5))
show(p1)

s=ellipse(x=110,y=0,w=10,h=17,stroke="none",fill="crimson")
s1=s |  repeat(36,rotate(10))
show(s1)

c=circle(r=90,stroke="none",fill="lightsalmon")
show(c)





p=circle(x=80,y=0,r=6,stroke="forestgreen",stroke_width=3,fill="forestgreen")
p1=p | repeat(36,rotate(10))
show(p1)


p=circle(x=80,y=0,r=2,fill="yellow",stroke="none")
p1=p | repeat(36,rotate(10))
show(p1)

c=circle(r=80,stroke="none",fill="forestgreen")
show(c)


c=circle(r=75,stroke="none",fill="lightsalmon")
show(c)





p=rectangle(x=70,y=0,w=4,h=5,stroke="orange",fill="white")
p1=p | repeat(72,rotate(5))
show(p1)

s1 = circle(x=55,r=8,fill="pink",stroke="pink") 
s2=ellipse(x=55,w=30, h=15,fill="crimson",stroke="none") 
s3= ellipse(x=55,w=15, h=30,fill="crimson",stroke="none")
p=combine([s2,s3,s1])
s=p | repeat(12,rotate(30))
show(s)

c1=circle(r=55,fill="forestgreen",stroke="none")
c2=circle(r=53,stroke="white")
show(c1,c2)

p=rectangle(x=45,y=0,w=4,h=5, stroke="none",fill="yellow")
p1=p | repeat(36,rotate(10))
show(p1)

a3= circle(x=37,y=0,r=12,fill="lightcoral",stroke="crimson")

a2= circle(x=41,y=0,r=8,fill="yellow",stroke="none")
fill = color(r=150, g=0, b=0)
a1 = circle(x=40, y=0, r=4,fill="crimson",stroke="none")

a=combine([a3,a2,a1])
q= a | repeat(10, rotate(36))
show(q)

p=rectangle(x=25,y=0,w=4,h=5,fill="yellow",stroke="none")
p1=p | repeat(36,rotate(10))
show(p1)

s1= ellipse(x=18,y=0,w=7,h=4,fill="pink",stroke="none")
s2 = s1 | repeat(18,rotate(20))
show(s2)


s1=ellipse(x=8,y=0,w=10,h=6,fill="crimson",stroke="pink")
s2 = s1 | repeat(8,rotate(45))
show(s2)
c=circle(r=4,fill="white",stroke="white")
show(c)


s1=ellipse(x=8,y=0,w=10,h=6,fill="crimson",stroke="pink")
s2 = s1 | repeat(8,rotate(45))
show(s2)
c=circle(r=4,fill="white",stroke="white")
show(c)