Hi everyone
I’m trying to randomize “pipe variable” across multiple lines
I would like it if each line had its own randomized pipe
I’m trying different ways but i cant achive any resutl
hope someone can help me, even just a suggestion or an idea is appreciated
This version implements random (per pipe) Count, Radii and Seeds. It culls similar ‘t’ values to avoid abrupt changes in radius (purple group with ‘Tolerance’ slider). Geometry is internalized so may be used in R7.
Added white group to create a “forest” of pipes, illustrating an issue I struggled (and failed) to solve, culling similar ‘t’ values… Sometimes it removes the (inserted) top and/or bottom of these pipes. It’s probably simple () and will occur to me later.
This wasn’t simple but I think it works. Replaced the previous purple group to generate a series of intervals defined by the ‘Min_Incr’ and ‘Max_Incr’ sliders, then cull them and add 0 and 1 (bottom and top) so all pipes are the same height.
It bothered me to see some pipes with abrupt transitions near their tops so I looked further.
Finally located and fixed the problem but made other changes too. Instead of generating random seed values so each branch (pipe) is different, now I generate random ‘radii’ and ‘intervals’ for all branches and then partition both lists.
The code is simpler in some respects, and hopefully better.