From fcf0ee4b479cc6c13903599e6f07bed1716e247a Mon Sep 17 00:00:00 2001 From: biglyderv Date: Tue, 4 Mar 2025 05:16:54 -0500 Subject: [PATCH] even mores graphics fixes --- docs/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/js/index.js b/docs/js/index.js index d60f65d..bc23f7d 100644 --- a/docs/js/index.js +++ b/docs/js/index.js @@ -106,7 +106,7 @@ function renderThing() { hud.textContent = `${Math.floor(nothingness * 100) / 100} nothings; ${Math.floor(nGain * 60 * 100) / 100} nil/sec` gl.uniform1f(sizeBuffer, -Math.log(nothingness)); - gl.uniform1f(distBuffer, 0.1 + 3 * nGain/(nGain+1)); + gl.uniform1f(distBuffer, 0.1 + 3 * nGain/(nGain+nothingness)); var primitiveType = gl.TRIANGLES; var offset = 0;