How to give each object of a grid a different orientation - Animation Nodes

Hi all,

I’m trying to give each object of a grid a different orientation for an animation of 360 frames.
For example, object 1 rotates under an angle of 10 degrees (X-rotation), object 2 rotates under an angle of 23 degrees (X-rotation) …

I have a workflow but the orientation changes each frame ;-(
Any ideas / tips to move me in the right direction?

Thanks a lot!

Kr,
Steven