Update index.html

This commit is contained in:
Phuc Tran authored and GitHub committed 2022-12-05 13:48:58 +01:00
1 parent 710b207f72
commit 7a4259e1a5
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@
float pLimit = 0.675;
float nLimit = -pLimit;
float nullPoint = 0.5;
float scaledT = time * 1.1;
float scaledT = time * 1.25;
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) {