How I would make it:
Make a circle in the center of the screen
Make a circle spin around that circle
Make a circle spin around the rotating circle following it
Make each circle draw a line.
Effects may be varied so change the direction and distance of each circle to get your desired effect