I think it would make a cool transition effect with Sparkles, what do you guys think? Can it be added?
It’s certainly possible. The question is if it needs a new transition or if it’s just a TrConcat sort of things. Can you describe how you imagine this new transition working in a little more detail?
So it’s like for example we have a solid color and we add Sparkle transition effect instead of Fade transition if we want to make a color transition from say White to Black. So White solid color breaks down into sparkling pixels with decreasing number of sparkles until it’s fully Black (end of transition).
White-to-black might not be the best example since the sparkles are (usually) white, and thus wouldn’t show up.
Basically, each pixel would transition to white, and then to the new color, but with some random offset so that it appears sparkly.
It seems to me that people might also want this sparkle effect to travel up or down the blade. Kind of like the TrWipeSparkTip, but instead of one white blob “spark” traveling up/down the blade, you would have random white sparks show up and when they go away you have the new color.
One possible way to do this would be to build a transition that applies a randomized-per-pixel delay to some other transition. Let’s call this TrPerPixelDelay<> for now. Doing the sparkle effect you want would then become something like TrPerPixelDelay<300, TrConcat<TrFade<300>, White, TrFade<300>>>
Might be hard to implement efficiently though. I might have to think of other ways to do it.
Color doesn’t matter since sparkles should be same color as a base color. So the solid color transitions via sparkles to black.
Sounds almost like a dissolve, where the new color appears pixel by pixel at random over the old, rather than sparkles specifically. Could be interesting.
I’m confused now.
Not sure what you mean by “base color”.
If you transition for black to white, and the sparkles are black, how will you see them?
Messed around with this using existing pieces. A per LED random threshold against a Sin gets pretty close to the look I was imagining. Is this kinda what you were thinking?
Mix<IsLessThan<Sum<Mult<RampF,Int<24576>>,Mult<RandomPerLEDF,Int<8192>>>,Sin<Int<10>>>,Red,Blue>

It sounds to me like just building a new templated transition effect which uses stuff we already have.
Just a steadily falling decrease in sparkle value over a period of adjustable time as the core feature.
Take whatever your base blade color is, be it a solid single color or any look like an audio flicker or anything.
The Transition starts as Sparkle at 99% sparkles ON in the base color. Then the percentage drops at rate N, leaving less and less lit pixels (randomly lighting and sparkling). The blade will just basically become more sparse over the course of the transition until there’s only a few, then one, then none.
So basically just a steadily falling decrease in sparkle value over a period of adjustable time.
Then, if desired, an adjustable location or section or area or multiple places or whatever just by sticking it in something else already existing.
I’m on my phone at the moment, but I’m pretty sure it can be pretty easily done with existing tools. I’ll build something in style editor and post it back.
Nope
you added sparkles in the gradient area between the two colors, but I meant the full blade sparkle when color transitions to other color or black.
Oh! Yeah, I see what you mean. So maybe more like one of these, where “black” just means whatever is under the first style gets revealed, another color or black?


Layers<
Black,
AlphaL<Red,IsLessThan<RandomPerLEDF,ClampF<Sin<Int<10>,Int<-8192>,Int<40960>>,0,32768>>>>
Yes! Exactly this.