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

min/max ranges don't behave circularly as they should #5

Open
kotoroshinoto opened this issue Aug 7, 2020 · 0 comments
Open

min/max ranges don't behave circularly as they should #5

kotoroshinoto opened this issue Aug 7, 2020 · 0 comments

Comments

@kotoroshinoto
Copy link

If say, I wanted to re-create the "roses" example on http://medialab.github.io/iwanthue/

I would need to use hmin 330 and hmax 20, and the function would need to know to use the "left" and "right" portions via the circularity of the color space.

At the moment, it just chokes on the min <= max arguments not being true.

It would also be acceptable to maintain the min/max requirements as such and have a boolean switch to indicate that the range was an exclusion rather than a selection.

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

1 participant