How to rotate individual rectangles?

Hi,

Trying to make a script on my own. I have gotten this far, I want to rotate the individual rectangles at different angles. What component should I use to do this? Is it possible to use the component ‘random’ and a number slider to do so? What suggestions do you have? Where should I plug in this component in this script?

Many thanks!

Natalie T

Moved to Grasshopper category.

You want to move them incrementally, which means u need set of numbers either generated by range or series component. U can add graph mapper after range for interesting results .

This could be one way.
Canvas%20at%2015%3B18%3B07

Thank for your suggestion, these have been very helpful!

I’ll try this. Thank you!