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 color arithmetics #9

Merged
merged 7 commits into from
Jan 15, 2016
Merged

Implement color arithmetics #9

merged 7 commits into from
Jan 15, 2016

Conversation

Ogeon
Copy link
Owner

@Ogeon Ogeon commented Jan 12, 2016

This implements Add, Sub, Mul and Div as simple component wise operations, and closes #2. This is not necessarily the same thing as blending, depending on which color space we are talking about.

Hue based color spaces does only implement Add and Sub for now, since multiplication of angles isn't well defined. This may change in the future, as the behavior of the hue types solidifies.

@Ogeon
Copy link
Owner Author

Ogeon commented Jan 15, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Jan 15, 2016

📌 Commit c1763a7 has been approved by Ogeon

@homu
Copy link
Contributor

homu commented Jan 15, 2016

⚡ Test exempted - status

@homu homu merged commit c1763a7 into master Jan 15, 2016
homu added a commit that referenced this pull request Jan 15, 2016
Implement color arithmetics

This implements `Add`, `Sub`, `Mul`  and `Div` as simple component wise operations, and closes #2. This is not necessarily the same thing as blending, depending on which color space we are talking about.

Hue based color spaces does only implement `Add` and `Sub` for now, since multiplication of angles isn't well defined. This may change in the future, as the behavior of the hue types solidifies.
@Ogeon Ogeon deleted the arithmetics branch January 15, 2016 13:02
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.

Color arithmetics
2 participants