Skip to content

Conversation

@benjamminf
Copy link
Contributor

Added the blend modes multiply and screen as well as a method to invert
the color. Test cases provided.

Usage:

Spectra(...).multiply(...);
Spectra(...).screen(...);
Spectra(...).invert();

Added the blend modes multiply and screen as well as a method to invert
the color. Test cases provided.
@benjamminf
Copy link
Contributor Author

Have a fair few more blending modes to go but thought I'd go ahead and commit these.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 4a4081a on benjamminf:master into 6c3fa2c on aakpat6:master.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a duplicate of negate? Consider aliasing one to the other - I don't really care which.

@avp
Copy link
Owner

avp commented Feb 5, 2014

I should be able to merge this when you fix those two comments.

@avp avp self-requested a review December 14, 2016 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants