waves example more obvious

This commit is contained in:
Mr.doob
2010-04-24 04:43:25 +01:00
parent 510618a546
commit 8ed398abba
+1 -1
View File
@@ -109,7 +109,7 @@
for(var iy = 0; iy < AMOUNTY; iy++)
{
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);
}
}