Browse Source

waves example more obvious

Mr.doob 15 years ago
parent
commit
8ed398abba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/particles/waves.html

+ 1 - 1
examples/particles/waves.html

@@ -109,7 +109,7 @@
 					for(var iy = 0; iy < AMOUNTY; iy++)
 					for(var iy = 0; iy < AMOUNTY; iy++)
 					{
 					{
 						particle = particles[i++];
 						particle = particles[i++];
-						// particle.size = (Math.sin((ix + count) * .3) + 1) * 2 + (Math.sin((iy + count) * .5) + 1) * 2;
+						particle.size = (Math.sin((ix + count) * .3) + 1) * 2 + (Math.sin((iy + count) * .5) + 1) * 2;
 						particle.position.y = (Math.sin((ix + count) * .3) * 50) + (Math.sin((iy + count) * .5) * 50);
 						particle.position.y = (Math.sin((ix + count) * .3) * 50) + (Math.sin((iy + count) * .5) * 50);
 					}
 					}
 				}
 				}