GyverLampCpp icon indicating copy to clipboard operation
GyverLampCpp copied to clipboard

What's up with the FlockEffect dimming?

Open BlipRanger opened this issue 1 year ago • 2 comments

myMatrix->dimAll(255 - (settings.scale % 11) * 3); basically goes between 255 and 222 and then resets when you hit a multiple of 11. Any idea why that's the case? https://github.com/CODeRUS/GyverLampCpp/blob/26f398e6f21dc379bed9de6dc6a2daa39f427dc5/src/effects/aurora/FlockEffect.cpp#L64

BlipRanger avatar Apr 06 '23 01:04 BlipRanger

Similar implementation here https://github.com/CODeRUS/GyverLampCpp/blob/26f398e6f21dc379bed9de6dc6a2daa39f427dc5/src/effects/basic/PrismataEffect.cpp#L55

BlipRanger avatar Apr 06 '23 01:04 BlipRanger

well, it was ported from

https://github.com/pixelmatix/aurora/blob/master/PatternPendulumWave.h

and dimAll is basically "soft clear" of screen, leaving fade of previous pixels and will go away in couple of loops copletely.

CODeRUS avatar Apr 06 '23 07:04 CODeRUS