+360}function Ha(a,b){return Math.atan2(b[1]-a[1],b[0]-a[0])}function Ra(a,b){return Math.sqrt(a*a+b*b)}function Q(a){var b;b=k.VERTEX_SHADER;b=k.createShader(b);k.shaderSource(b,"attribute vec2 p;varying vec2 uv;void main(){gl_Position=vec4(p,.0,1.);uv=.5*(p+1.);}");k.compileShader(b);var e=b;b=k.FRAGMENT_SHADER;b=k.createShader(b);k.shaderSource(b,a);k.compileShader(b);a=k.createProgram();k.attachShader(a,e);k.attachShader(a,b);k.linkProgram(a);k.useProgram(a);
    e=k.getAttribLocation(a,"p");k.enableVe