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

Add color helper functions to dang-math. #27

Open
Possseidon opened this issue Mar 3, 2021 · 0 comments
Open

Add color helper functions to dang-math. #27

Possseidon opened this issue Mar 3, 2021 · 0 comments
Assignees
Labels
dang-math enhancement New feature or request

Comments

@Possseidon
Copy link
Owner

Add color helper functions to dang-math.

All in namespace dang::math::color.

Utility

  • clamp
  • gray
  • rainbow
  • color constants

Conversions

There are various representations that should be convertible to each other:

  • rgb (byte and floating point)
  • hsv (byte and floating point)
  • hex (std::uint32_t)
@Possseidon Possseidon added enhancement New feature or request dang-math labels Mar 3, 2021
@Possseidon Possseidon self-assigned this Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dang-math enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant