Flip ColourCycle Direction?

I need a ColourCycle blade style that goes in the opposite direction to normal when the blade is lit. I seem to recall reading somewhere that you can change the direction of it, but I can’t remember how.

Blade setup is six pixels divided into two subblades. The first blade has five pixels and the second one pixel.

I tried flipping it at the blade array:
SubBlade (3, 0, WS281XBladePtr<5, bladePin etc.
but it didn’t work.

This is my blade style:

StylePtr<Layers<ColorCycle<ColorChange<TrInstant,
Rgb<180,255,255>,Rgb<185,212,212>,GhostWhite,Blue,Cornsilk,Azure,White,Red,FloralWhite,LightYellow,SeaShell,Green>
,0,1,ColorChange<TrInstant,
Rgb<180,255,255>,Rgb<185,212,212>,GhostWhite,Blue,Cornsilk,Azure,White,Red,FloralWhite,LightYellow,SeaShell,Green>
,25,160,800>,InOutHelperL<InOutFuncX<Int<300>,Int<800>>,Cylon<ColorChange<TrInstant,
Rgb<180,255,255>,Rgb<185,212,212>,GhostWhite,Blue,Cornsilk,Azure,White,Red,FloralWhite,LightYellow,SeaShell,Green>
,10,15,Black,0,0,1>>>>(),

I’m sure the answer is really simple - I just can’t remember what it is! LOL!

Advice welcome.
Thanks in advance.
:slight_smile:

Wrap it in below, this inverts the style contained within it. If you want other effects to also invert include them in a Layers<> within.

Remap<InvertF<RampF<>>,style code>

Or if you want ALL styles for that blade to reverse use:

1 Like

A legend as always Fernando! Thanks you so much - that did the trick perfectly!
:smiley: :muscle: :ok_hand:
Much appreciated.
:pray:

Seems like negative speeds should also work, but it doesn’t seem like it does.
Maybe I should fix that…

1 Like