Skip to content

Conversation

@zanhecht
Copy link
Contributor

Avoids aliasing errors on narrow screens (such as on mobile). Follow-on to discussion in #3621 , but broken out into a separate pull request.

For example, when displaying the colors from the C9 palette:
image

The current 0_15 branch code looks like the following with 1024 LEDs on a mobile screen that's 915 pixels wide:
image

Limiting it to the width of the canvas results in the following:
image

Avoids aliasing errors on narrow screens (such as on mobile). Follow-on to discussion in wled#3621 , but broken out into a separate pull request.
@blazoncek
Copy link
Collaborator

Removing a part of LED strip from peek would be more annoying than seeing moire.
Not in favour of this PR.

@zanhecht
Copy link
Contributor Author

Fair enough. I'll open another PR for another method to reduce moire without cutting off the end.

@zanhecht zanhecht closed this Jan 16, 2024
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.

2 participants