mirror of
https://github.com/tiennm99/webgl-heart.git
synced 2026-10-03 07:13:48 +00:00
Update index.html
This commit is contained in:
1 parent
710b207f72
commit
7a4259e1a5
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user