The effect depends on what’s called Persistence of Vision (POV). I came across it when I was looking into building an N x N LED cube. It’s used to create animation effects among other things.
Do a search for POV on youtube. You’ll find lots of projects that use this.
For a start try: