I've created randomly seeding dots that move, and I would like to connect the dots with lines. I've created the dots and I know to use BEAM to connect the dots using the dots positions as begin and end points for the BEAM.
What I would like to do is to put in an expression for the beginning and end points for the BEAM an expression that randomly selects which dot is connected to the next dot.
So like something like
thisComp.layer("Dot <b>(random number between 1-60)</b>").transform.position
With "Dot" being the layer names for the dots (eg: Dot 1, Dot 2, Dot 3, Dot 4, etc)