Repeated rotations

Im trying to set up a definition for a set of cylinders that will rotate together. I’ve got a definition to control the parameters and rotation of the first one but I can’t figure out how to add more.

Rotations.gh (3.1 KB)
example.3dm (2.3 MB)

The example file is what I hope to end up with. Each cylinder rotates in relation to the one before it with the points being the rotation points.

without having opened your file, you probably need https://www.food4rhino.com/app/anemone

but please devote 5 minutes reading this before you pose your question. It will help you get help! :slight_smile: