Update index.html
Browse files- index.html +2 -1
index.html
CHANGED
@@ -152,7 +152,8 @@
|
|
152 |
this.lastTime = time;
|
153 |
return;
|
154 |
}
|
155 |
-
|
|
|
156 |
var i = 0,
|
157 |
max;
|
158 |
for (i = 0, max = this.particles.length; i < max; i = i + 1) {
|
|
|
152 |
this.lastTime = time;
|
153 |
return;
|
154 |
}
|
155 |
+
const t = Date.now() * 0.001;
|
156 |
+
this.windForce.set(Math.sin(t), 0, Math.cos(t)).normalize().multiplyScalar(300);
|
157 |
var i = 0,
|
158 |
max;
|
159 |
for (i = 0, max = this.particles.length; i < max; i = i + 1) {
|