d an object, which allows me to define a value as an input and which then outputs an adjustable number of random values which - if summed - equal the input value. For example I want to define 50 as an input and the output should be 20 + 30 or 20 + 20 + 10 or 25 + 25,...
So basically I need something like a flipped addition object (but with an adjustable number of random output values) Is there anything like that in Grasshopper?
Thanks a lot in advance!
regards
Peter…
Added by Peter Steiner at 3:35pm on November 5, 2012
e
7. True
8. True <-- this one
9. True
10. False
11. True
12. False
13. True
14. True <-- this one
15. True
16. False
17. True
18. False
19. True
20. True <-- this one
21. True
22. False
23. True
24. False
25. True
26. True <-- this one
27. True
28. False
29. True
30. False
31. True
32. True <-- this one
33. True
Any idea how I can solve this?
Thanks!…
0,
I want to move everything in {2} up 5 and 10 and 15,
Any ideas. I have been trying using the series component to create the right data structure but somehow its not working and i am sure there is a simple way?
Do i have to repeat the data so that the number of transform data matches the input list or is there a way to simply apply the transformation to everything in {0}{1} and {2} respectively depending on its structure ??
Hopefully this makes sense? I am not really sure but is it a job for stream - i cant understand why i cant get it to work. Sorry i am sure this is covered in the forums, i have been looking but cant anything which helps specifically.
Many thanks
Chris…
the next challenge i am confronted with is that all 5 circles of the above-mentioned radi are placed in each point. My aim is to randomly distribute ONE of the created circles in each point, instead of 5 in each point.…