mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
waves example more obvious
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user