We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Perhaps an ability to use blending modes? Usage could be something like:
var color1 = Spectra(...); var color2 = Spectra(...); var blended = color1.blend(color2, mode);
Where mode is the name of the blend mode as a string.
mode
The text was updated successfully, but these errors were encountered:
Looks good - do you want to implement these?
Sorry, something went wrong.
Now that I think about it, it might make more sense to specify each blend mode as it's own method.
color.dissolve(...); color.multiply(...); color.screen(...); ...
But I'll give it a shot.
That sounds good. These are kind of like variations on mix so they really should be different functions.
mix
Yeah exactly what I was thinking.
No branches or pull requests
Perhaps an ability to use blending modes? Usage could be something like:
Where
mode
is the name of the blend mode as a string.The text was updated successfully, but these errors were encountered: