Pookkalam by Della Dominic

Code

c1 = circle(r=20)
c2 = circle(r=22)
show(c1,c2)


black = color(r=100,g=41,b=23)
darkred = color(r=160, g=28, b=28)
red= color(r=230, g=72, b=5)
green= color(r=72, g=91, b=38)
yellow= color(r=255, g=200, b=13)
orange = color(r=255, g=133, b=3)
yellowwhite = color(r=255, g=245, b=166)
aqua = color(r=5,g=195,b=221)
blue = color(r=0,g=64,b=25)
midblue = color(r=0,g=51,b=102) 
green = color(r=50,g=205,b=50)


bg = color(r=160, g=28, b=28, a=0.5)

c = circle(r=150,fill=bg,stroke=yellow)

c1 = circle(r=70,fill=darkred,stroke=orange,stroke_width=1)

shape = ellipse(w=198, h=100, stroke = "#efda73") | repeat(18, rotate(10))
s = shape | scale(1.5)








rec1 = rectangle(w=200,h=200,fill=black,stroke='none') | repeat(10, rotate(10))
rec2 = rectangle(w=185,h=185,fill=darkred,stroke='none') | rotate(5) | repeat(10, rotate(10))
rec3 = rectangle(w=171,h=171,fill=red,stroke='none') | rotate(10) | repeat(10, rotate(10))
rec4= rectangle(w=158,h=158,fill=orange,stroke='none') | rotate(15) | repeat(10, rotate(10))
rec5= rectangle(w=146,h=146,fill=yellow,stroke='none') | rotate(20) | repeat(10, rotate(10))
rec6= rectangle(w=130,h=130,fill=yellowwhite,stroke='none') | rotate(25) | repeat(10, rotate(10))
rec7= rectangle(w=120,h=120,fill='white',stroke='none') | rotate(30) | repeat(10, rotate(10))
rec=combine([rec1,rec2,rec3,rec4,rec5,rec6,rec7])

show(rec,c,s,c1)

shape = circle(x=10, y=0, r=70, stroke ="#efda73") | repeat(130*2, rotate(10)|scale(0.97))
boat = shape | translate(x=-10)
show(boat)
'''man = circle(x=5, y=-5, r=5, fill ="#efda73",stroke = "none")
line = line(5,-5,2,-30,stroke ="#efda73",stroke_width=3)
show(man,line)'''