How to rotate hundreds of objects without key framing each of them?

And here’s something more artsy: