Inspire by Dr.No(1962) Opening:
https://www.youtube.com/watch?v=oTo3YtPxG5k

I used the for loop and random to create circle groups with different colors and directions.
I also used rectangles with the background color as a mask to cover the unwanted parts, resulting in a more diverse look.

Questions:
How am I supposed to create this effect?
Is there a way to make this effect?