Hi all, I'm looking to randomly changing the length of multiple lines whilst keeping the number of points across the whole system the same.
For example, I have 4 lines with 11 points each, I want to randomly change the length of these lines, but keep the overall number of points to 44.
Changing the length of multiple lines while keeping points
1951 4 1-
- bashorton
- Member
- 18 posts
- Joined: Feb. 2022
- Offline
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
-
- bashorton
- Member
- 18 posts
- Joined: Feb. 2022
- Offline
-
- BabaJ
- Member
- 2162 posts
- Joined: Sept. 2015
- Offline
bashorton
Thank you, that did exactly what I asked! However, I've realised I actually asked the wrong question. How can Randomly change the lengths while keeping the overall length of the sum of the lines the same?
I supplied a hip that does this similarly for you in your other post. You just have to make a bit of modification for your current query; It's the same logic.
-
- bashorton
- Member
- 18 posts
- Joined: Feb. 2022
- Offline
BabaJbashorton
Thank you, that did exactly what I asked! However, I've realised I actually asked the wrong question. How can Randomly change the lengths while keeping the overall length of the sum of the lines the same?
I supplied a hip that does this similarly for you in your other post. You just have to make a bit of modification for your current query; It's the same logic.
Thanks so much! That works really well, I'm going to go through the vex to try and work out how you achieved it.
-
- Quick Links

