comet effect code for neopixel using arduino

Hi guys, I need your help.
Effect required: Comet effect code for arduino https://www.youtube.com/watch?v=yM5dY7K2KHM&t=799s @ 7.36

  • It needs to go in only one direction.
  • I am using 3 strips with 45 LEDs on each. They need to have same pattern
  • Color has to start from RED and finish with Violet at the end of strip. (rainbow color with comet effect)
    Hope this makes sense to you.
    Thank you

Kinda like this? Dragon flames

Where you located?

-jim lee