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

Implement HSLUV based quasi-random hue color cycling for role colors #3

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

alchzh
Copy link
Owner

@alchzh alchzh commented Oct 9, 2020

See this demo showing the system: https://repl.it/@acz13/ProbableReliableFraction

@alchzh
Copy link
Owner Author

alchzh commented Oct 9, 2020

Fixes #2

@alopezlago thoughts?

@alopezlago
Copy link

Cool! I haven't learned about quasirandom sequences before. This approach also looks good, and the changes look good to me too.

@alchzh
Copy link
Owner Author

alchzh commented Oct 9, 2020

Merging for now, but I'm a little unhappy with the rendering of yellow colors and the ~8 cycle caused by using 1/phi. Might tweak it a bit more.

@alchzh alchzh merged commit 043cf2e into master Oct 9, 2020
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