How to make tubes with random diameters?

Hello everyone! I hope you can help me with this problem. I’m working on a project where I need to create a random series of bamboo stalks
Bamboos.gh (12.8 KB)
. So far, I’ve managed to create the series of tubes by repeating a line. Then, by dividing the line into points, I assigned each point a circle of different sizes (which will define the diameter of the bamboo stalks through random numerical parameters)


. The problem is that each tube is a copy of the first one, which is then repeated. I need each tube to change its diameter independently from the others (still through random values). I tried to graft both the circles and the tubes, but it doesn’t seem to help, maybe I don’t really understandand how this input works. I also tried to use “flatten”, while this randomizes the circles by changing each of them independently, it makes the surface continuous by connecting the tubes together
(as you can see each tube is different from each other, but now they are connected). I don’t know how to proceed from here to change each tube independently.
Thank you in advance!

tree.gh (11.7 KB)

Also be careful of that 100 value in your random node. Generally you want to match the amount of numbers it’s outputting to the amount of geometries you want to affect. That 100 value doesn’t relate to anything at all.

Or this to preserve your blue group…


bamboo_2024_Jun12a.gh (6.8 KB)

P.S. More controls:


bamboo_2024_Jun12b.gh (7.5 KB)

Thank you! This is exactly what I needed to do!

Real bamboo :bangbang: (at 4:27)

P.S. Reminds me of this old thread (2017):

new_SrfStudy_2017Mar16d