I have this grid of dots I created using Geometry nodes:
(To explain the random positioning, I added a texture of some perlin noise, and then used the displace modifier on the X and Y coordinates).
I would like each sphere to connect to 0-N number of randomly chosen spheres/instances with a line (very thin cylinder where it's possible to set a custom material for it).
With the ability to modify a random seed of what spheres connect to what other spheres so that I can see how different connections look.
Like so:
Preferably with a parameter for the randomly chosen number of connections for each sphere. (So one sphere gets 3 connections to randomly chosen spheres, another gets 8 connections to randomly chosen spheres, and so on), and I can change that so it's a maximum random value of 100 connections and a minimum random value of 30 connections, and so on.
How can I do this with Geometry nodes?