-
|
Hi! Is there a way to dynamically change the number of segments and/or their resting length, so that a “differential line growth” simulation can be performed? |
Beta Was this translation helpful? Give feedback.
Answered by
skim0119
Feb 27, 2026
Replies: 1 comment
-
|
There is no clean way to change the number of segments. Changing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stromnov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is no clean way to change the number of segments. Changing
rest_lengththroughout the simulation is probably possible, but you also need to change therest_sigmaandrest_kappa(if it has initial curvature). There are other auxiliary variables that also needs to be adjusted:voronoi_rest_lengths,radius, and moment of inertia.