Pookkalam by Jemma

Code

# Pookalam
w1 = rectangle(w=210, h=210, fill='white',stroke='white') | repeat(10,  rotate(15))
y1 = rectangle(w=200, h=200, fill='#fff315',stroke='#fff315') | rotate(8)|repeat(10, rotate(15))
o1 = rectangle(w=192 ,h=192,fill='#ff6b15',stroke='#ff6b15') | repeat(10,  rotate(15))
r1 = rectangle(w=186  , h=186 , fill='#ba0505',stroke='#ba0505') | rotate(8)|repeat(10,rotate(15))
p1 = rectangle(w =182, h =182, fill ='#ff92ce',stroke ='#ff92ce')  | repeat(10,  rotate(15))
show(circle(r=150, fill="yellow",stroke="#063e16"))
show(circle(r=148, fill="#063e16"))
show(w1, y1, o1, r1, p1)

show(circle(r=120 , fill="#530086",stroke="violet",  stroke_width=2))
shape = circle(x=85,y=0, r=17, fill= "yellow", stroke="yellow") | repeat(25, rotate(15))
shape1 = rectangle(x=60, y=0, w=30, h=70, fill= "#063e16",stroke ="#063e16") | repeat(8, rotate(45))
shape2 = circle(x=60, y=0, r=25, fill= "#ba0505", stroke="#d95471") | repeat(9, rotate(45))
shape3 = ellipse(x=53,y=0, w=40,h=28,fill= "orange", stroke = "orange") | repeat(9, rotate(45))
shape4 = ellipse(x=48,y=0,w=25,  h=20, fill= "#f6e8af", stroke = 'none') | repeat(9, rotate(45))
z = line(x1=60  , y1=60  , x2=73,  y2=73,  stroke="#ff6b15",stroke_width = 7)|repeat(8,rotate(45))
shape5 = rectangle(x=55.5, y=0, w=30, h=60, fill= "green",stroke ="green",fill_opacity = 0.4) | repeat(8, rotate(45))
show(shape,shape1,shape5,shape2,shape3,shape4)

y = line(x1=17, y1=17, x2=24,  y2=24,  stroke="#ff6b15",stroke_width = 11)|repeat(8,rotate(45))
c1 = circle(r=29.2, fill="#fff3bb", stroke="yellow", stroke_width=10)
c2 = circle(x=10, y=1.8,r=7.5, fill = "#c8510d",stroke="none")
c3 = ellipse(x=3, y=-2.9, w=7,h=12.5, fill = "orange",stroke="#c8510d") | rotate(45)|translate(x=4,y=0)
c4 = circle(x=0, y=0, r=23,stroke = "purple",stroke_width=2)

x = line(x1=-5, y1=-12, x2=9,  y2=0,  stroke="#c8510d",stroke_width = 2)
s1 = circle(x=0, y=5, r=4,stroke = "#f6e8af") | repeat(9, rotate(45)) | translate(x=109.5, y=0)
s2 = circle(x=0, y=5, r=3,stroke = "#d95471",stroke_width=1.5) | repeat(9, rotate(45)) | translate(x=47, y=0)
s3 = circle(x=0, y=4, r=4,stroke = "orange",stroke_width=1.2)| repeat(10, rotate(45))| translate(x=108, y=0)
s4 = circle(x=25, y=0, r=2,fill = "purple" ,stroke = "none") | rotate(22.5)|repeat(12, rotate(45))

r1 = rectangle(x=-7,y=2.5,w=10,h=25, fill= "brown",stroke="none") | rotate(17)
r2 = rectangle(x=-7,y=-1,w=10,h=25,fill= 'brown',stroke="none") | rotate(345)
l1 = line(x1=1,y1=-6,x2=-2, y2=15,stroke="#fff3bb",stroke_width = 5)
l2= line(x1=-19,y1=-7,x2=-10, y2=15,stroke="#fff3bb",stroke_width = 9)
e = ellipse(x=0, y=-12,w=35,h=12, fill= "green")
c5 = circle(x=1,y=1,r=2,fill="none", stroke="#fff315")|repeat(5,rotate(70))|translate(x=3,y=-12)
c6 = circle(x=0,y=2,r=2.1,fill="none", stroke="#ff6b15")|repeat(9,rotate(75))|translate(x=9,y=-11)
c7 = circle(x=0,y=2,r=1,fill="#d95471", stroke="#b51171")|repeat(5,rotate(70))|translate(x=-5,y=17)|repeat(3,rotate(40))
e1 = ellipse(x=0, y=0,w=7.5,h=2.5, fill= "#d95471", stroke= "violet", a=0.5)| repeat(2,rotate(90)) | translate(x=87.5,y=0)


show(z,c1,y,s4)
show(s1 | repeat(8, rotate(45)))
show(s2 | repeat(8, rotate(45)))
show(s3 | rotate(22.5) |repeat(8, rotate(45)))
show(e1 | rotate(22.5) |repeat(8, rotate(45)))
show(e,r1,r2,l1,l2)
show(c2,c3,x,c4,c5,c6,c7)