Pookkalam by Vishnu das

Code

#code_pookalm
s04 = circle(r=152,fill ="#063e16",stroke ="none")
s02 = rectangle(w=212,h=212,fill ="yellow",stroke="#fff315",stroke_width =2) | repeat(10,rotate(15))
s01 = rectangle(w=210,h=210,fill ="purple",stroke="#ffffe4") | repeat(10,rotate(20))
s03 = rectangle(w=195,h=195,fill ="#ff92ce",stroke="#ff92ce") | repeat(10,rotate(20))
#
s0 = rectangle(w=210.5,h=210.5,fill ="yellow",stroke="yellow") | repeat(10,rotate(30))
s1 = rectangle(w=200,h=200,fill ="#D2B700",stroke="#d2b700") | repeat(9,rotate(30))
s2 = rectangle(w=190,h=190,fill="orange",stroke="orange")  | repeat(9,rotate(60))
s3 = rectangle(w=180,h=180,fill="#CA3500",stroke="#CA3500")  | repeat(9,rotate(30))
s31 = rectangle(w=170,h=170,fill="#ba0505",stroke="#ba0505")  | repeat(9,rotate(60))
s32 = rectangle(w=160,h=160,fill="#88001b",stroke="#88001b")  | repeat(9,rotate(30))
#
s4 = circle(x=32,y=0,r=72,fill="#28007d",stroke="#fdeca6")  | repeat(5,rotate(90))
s41 = circle(x=32,y=0,r=68,fill="#969696",stroke="#063e16")  | repeat(5,rotate(90))
s42 = circle(x=32,y=0,r=65,fill="#28007d",stroke="skyblue")  | repeat(5,rotate(90))
#
s5 = circle(x=50,y=30,r=30,fill="#4500d9",stroke="#000d24")  | repeat(20,rotate(30))
s51 = circle(x=50,y=35,r=16,fill="#fff315",stroke="#fff315")  | repeat(5,rotate(90))
s52 =rectangle(x=35,y=0,w=28,h=50,fill="#063e16",stroke="#063e16")  | repeat(8,rotate(50))
s53=rectangle(x=50,y=25,w=25,h=35,fill="#ff6b15",stroke="#ff6b15")  | repeat(30,rotate(50))
#
e1 = ellipse (w=65,h=127,fill ="#b31016", stroke ="orange", stroke_width = 4)|repeat(4,rotate(45))
e12 = ellipse (w=50,h=100,fill ="#ffffe4", stroke ="#002D7C", stroke_width = 4)|repeat(4,rotate(45))
#
s7 =circle( x=125, y=0 ,r=10, fill ="#396200",stroke ="#396200") | repeat(18, rotate(30))
s8 =circle( x=122, y=0 ,r=7, fill ="#ffdf00",stroke ="#ffdf00") | repeat(18, rotate(30))
s9 =circle( x=120, y=0 ,r=4, fill ="purple",stroke ="purple") | repeat(18, rotate(30))
#
s10 =circle( x=42, y=0 ,r=4, fill ="#a10055",stroke ="#a10055") | repeat(8, rotate(45))
#
s21 =rectangle(x=28,y=0,w=15,h=35,fill="#056922",stroke="#063e16")  | repeat(8,rotate(45))
#
c10=circle(r=30,fill="black")
c11=circle(r=27,fill='grey') 
c12=ellipse(h=50,w=10,fill='#168D6D')|repeat(200,rotate(200))
c13=ellipse(h=40,w=8,fill='#21D4A4')|repeat(200,rotate(200))
c14=circle(r=10,fill="black")
show(s04,s02,s01,s03,s0,s1,s2,s3,s31,s4,s41,s42,s5,s51,s52,s53,e1,e12,s7,s8,s9,s10,s21,c10,c11,c12,c13,c14)