-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgolf.html
9 lines (7 loc) · 1.17 KB
/
golf.html
1
2
3
4
5
6
7
8
9
<meta charset=utf-8>
<canvas id=a width=900 height=600>
<script>
c=a.getContext("2d");
x=y=l=0;for(i in e=']]]v,]]t,D,_]t.`]]tFa]]uEdtF bvEd]]tF f|]DtFh|tG g]tHf_I c]uHh^tH ]f|]vG]jtHD]ivG]jtJ hu|tHf`J"hvKiM f^DtLh|]t|JD jtLlMD ]jvKDkvJD kwL]kvLD kwNmMD _c`vL]lND ]jvNlND k|]Pj|`O ]i]OpLD"lPm_LD"]lQnND ]]jQ]qR ptRrPD$]]iU]l.QD h_,tTm.QD"kuVl]W"h^tXlXmtVnU,]iXmSD.]]guVDjE|N,D,D,D"gtDtXhS,DDD ]euZfL-KDD ]ctJ-QfH.OD"]auD,D.Te|E-S,D"du-Ye/U,D.],bv,D,D,Uc|]2F-M,D,!]a|]|0D,V]b5Q,DD ]av/|,I,Od4N|GD"]bt0L|N]c1D,U,D c,t.D-T],cD3D,L6^,|4M3`7D,D,D,D4],b8D4gC],d=D,g|A],b;F,e.D|1D,D0],`.D,J,c.H,D.],],_F,E,G,],0x-H,D2]x]|-|E|J-_|^yD,D,D,D,D0]x]xD,M.^x,x,x/D,D,D-x,z,D,D,K,y-x|x2x,x]y,Dx3y-y{,x,x,y-y,3x.y,x.x,z|x|.x3~-x,x0|-y|./|/x-},0x.x,y|x1x.x,,x-|x,x,-zx..x,/-,')if(s=e.charCodeAt(i),
26>s)y++,z=s-15-3,l=x=l+z;else{for(j in f=[25,29,43,67,92,115,119,123])s>f[j]&&(z=s-f[j],c.fillStyle="#"+f[j]*6);c.fillRect(5*x,5*y,5*z,5);x+=z}
</script>