Description Usage Arguments Details
This function is used to set the different constants of the MDSRefMaps algorithm.
1 2 | setConstants(K = 1, F = 0.1, DELTA_T = 0.001, MASS = 10,
ACC_THRESHOLD = 0)
|
K |
a numeric value indicating the spring strength between two particles |
F |
a numeric value indicating the friction of the springs |
DELTA_T |
a numeric value indicating the time between two steps of the algorithm |
MASS |
a numeric value indicating the mass of each particle |
ACC_THRESHOLD |
a numeric value indicating the acceleration threshold (a value of 0 disactivate this acceleration threshold) |
The 'ACC_THRESHOLD' parameter can be used to contrain the object accelerations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.