Light Trail Effect

Hello,

I apologize if this question has already been asked.

I am trying to create a light trail effect on a ball using Phaser 3. I have been successful in using a particle emitter to create a similar effect, but it is not exactly what I am looking for.

light-trail

I am trying to create something like the image above. Does anyone know how I could do something like this?

Thank you in advance.