Simulates stress using a offset and value vector
1 2 | .cppSimulateKey(offsets, values, decay_ms = 0, decay_perc_s = 0.1,
stress_init = 0)
|
offsets |
Offsets of the values used to indicate spikes |
values |
Spike values used to increase stress |
decay_ms |
Stress decay per ms |
decay_perc_s |
Stress decay per second |
stress_init |
Initial Stress |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.