John Salamon %!s(int64=7) %!d(string=hai) anos
pai
achega
c1e3a16e11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code.js

+ 1 - 1
code.js

@@ -207,7 +207,7 @@ let startGL = function(img) {
 
 		gl.useProgram(data.program);
 		gl.uniform1f(data.uniforms.enabled, true);
-		gl.uniform2f(data.uniforms.dim, img.width, img.height);
+		gl.uniform2f(data.uniforms.dim, img.width/2, img.height/2);
 		gl.uniform2f(data.uniforms.rseed, Math.random(), Math.random());