May 2019
Beginner to intermediate
650 pages
14h 50m
English
You can configure the duration and dynamics of a simulation by changing its alpha value, decay rates, thresholds and limits. The methods that allow these configurations are listed in the following table:
|
Method |
Description |
|
stop() |
Stops the simulation. To update positions in this state it is necessary to call tick(). |
|
restart() |
Restarts an existing simulation, maintaining current position and alpha values. This method will only restart the simulation if the alpha() value is set to a value higher than alphaMin(). |
|
tick() |
Explicitly causes a tick event, moving the alpha value closer to the alpha target, calls each force with the new alpha, decrements each node's velocity and increments its position with ... |
Read now
Unlock full access