Class: Particle

Particle

An object representing a particle. Particles are carried by the vector field and their position is tracked to construct the surface.

Constructor

new Particle(pos)

Parameters:
Name Type Description
pos THREE.Vector3 The initial position of the particle.
Source:

Members

currentNormal

The current normal. This is used, because normals need some kind of smoothing.
Source:

lastPosition

The last position of the particle.
Source:

left

The left neighbor particle.
Source:

lifetime

An counter of iterations this particle has survived.
Source:

moribund

'true' if the particle has to be removed until the end of the iteration.
Source:

position

The current position of the particle.
Source:
The right neighbor particle.
Source: