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

Led opacity #117

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Led opacity #117

wants to merge 7 commits into from

Conversation

ky28059
Copy link
Member

@ky28059 ky28059 commented Apr 3, 2023

Copy link
Contributor

@e3l e3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty based

public void incrementColors(int inc, Color color) {
for (int i = 0; i < ledArray.length - inc; i++) {
setLED(i, getLED(i + inc));
public void incrementColors(int inc, Color color, double opacity) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so i realized that this actually pushes the colors towards 0 which isn't explained in either the method name or the comments

@e3l
Copy link
Contributor

e3l commented May 8, 2023

@penguin212 pls merge if you're happy w everything + the review comments

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

Successfully merging this pull request may close these issues.

3 participants