From 710b207f72d4a5c786ed7660dedbe7780d27dcfe Mon Sep 17 00:00:00 2001 From: Phuc Tran Date: Sun, 27 Nov 2022 18:26:31 +0100 Subject: [PATCH] slow down --- staticpoints/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staticpoints/index.html b/staticpoints/index.html index a0a4703..eb3b9ed 100755 --- a/staticpoints/index.html +++ b/staticpoints/index.html @@ -56,7 +56,7 @@ const xSize = 50; const ySize = 50; const zSize = 50; - const density = 3; + const density = 2; const nParticles = xSize * ySize * zSize * density; const positions = []; @@ -104,7 +104,7 @@ float pLimit = 0.675; float nLimit = -pLimit; float nullPoint = 0.5; - float scaledT = time * 1.3; + float scaledT = time * 1.1; float dt = scaledT - pLimit * ( 2. * floor( scaledT / (pLimit* 2.)) + 1.); float r = 15. + 1.2 * pow(sin(2. * PI * dt), 4.); if (dt < -nullPoint || dt > nullPoint) {