Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's up with the FlockEffect dimming? #79

Open
BlipRanger opened this issue Apr 6, 2023 · 2 comments
Open

What's up with the FlockEffect dimming? #79

BlipRanger opened this issue Apr 6, 2023 · 2 comments

Comments

@BlipRanger
Copy link
Contributor

BlipRanger commented Apr 6, 2023

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?

myMatrix->dimAll(255 - (settings.scale % 11) * 3);

@BlipRanger
Copy link
Contributor Author

Similar implementation here

myMatrix->dimAll(255 - settings.scale % 11);

@CODeRUS
Copy link
Owner

CODeRUS commented Apr 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants