3 Strand addressable LED fireworks

I have written a code that works but it's a little messy. Thought you might take a look and comment. It's a nice effect. The firework Lights, launches, explodes with a bang and falls leaving trails back to earth. I'm running it on a esp32 without a level shifter.

I posted the code here: Fireworks-3-strips/Toneys3StringFireworks1.ino at master · tngw1500se/Fireworks-3-strips · GitHub