Update the inertia "w" for v1.
1 | updateInertia(in_boundary)
|
in_boundary |
a boolean vector specifying whether the particles are within the boundary. (bool vec) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.