Blending Modes
typefully.com
typefully.com
Somewhere, there’s an oral history of blending modes waiting to be told, and I can’t wait to read it.
> Blend2D supports all Porter & Duff compositing operators
Also, the link shared by one of the sibling comments can be searched for "Porter" to see how they are referenced:
Concerning the Hue, Saturation, Color and Luminosity blends - I've been wondering if there would be anything to gain from creating similar types of blend from colors defined using the LCH and/or LAB color spaces ...?
[1] - W3C spec - https://drafts.fxtf.org/compositing/#blending
[2] - Normal, Dissolve, Behind, Clear, Darken, Multiply, Color Burn, Linear Burn, Lighten, Screen, Color Dodge, Linear Dodge (Add), Overlay, Soft Light, Hard Light, Vivid Light, Linear Light, Pin Light, Hard Mix, Difference, Exclusion, Subtract, Divide, Hue, Saturation, Color, Luminosity, Lighter Color, Darker Color - see https://helpx.adobe.com/uk/photoshop/using/blending-modes.ht...
[3] - I spent far too long on the W3C spec page last Christmas when I built a blend filter for my canvas library (maths is not my strongest talent); even now I'm not convinced that I got all the calculations right - https://scrawl-v8.rikweb.org.uk/demo/filters-102.html
Porter-Duff compositing was more of a general theory for compositing A on top of B with a mask C, and the operators defined in their paper were the 3-way truth table of those bits. It only defines coverage, not the underlying color.
Two things of interest: I saw some weird off-by-1 errors between the expected color and what Firefox's inspector measured even with pretty simple filters like invert(). I'd like to dig into that more. And I had precision issues with how much grayscale() would scale the blue channel, especially since the color channels are 8 bit, which I improved by using luminance() instead.
The MDN and the CSS spec was a great resource for figuring out exactly what calculation each blend mode and filter was doing.
Grayscale could be weird if gamma is taken into account. (I recall that there are blending modes at least that assume you convert to a 1.0 gamma, do the blend, then convert back to the original gamma.)
Isn't this just rich black? I thought the result also differed depending on the printing medium (due to just more ink and different absorbency of the medium)
reMarkable uses the darken blend mode very successfully in its monochrome and colour renderings of highlighter strokes. Multiply would make the strokes darker the more you drew (and there is a separate highlighter colour that uses multiply for this effect), but darken gets just one level of darkening however many times you draw over it, which is normally what you want, and achieving that result by any other means would be much, much more effort, especially once you get to overlapping highlighter and non-highlighter strokes of various colours of each.
> Do you just click different blending modes until it sort of looks right?
> Well, that probably won't change after you read this but at least you probably won't use Lighten or Darken again.
There's no way I'm going to compute in my head "Well this gradient with three colors is going to look like this after I mix it on top of these 3 bottom gradients each with different colors, oh and an image underneath"
Clicking a button beats computing an image in my head in terms of mental energy cost.
Speaking of energy, a physical dial, or scroll control, would be nice to cycle through quickly.
Edit: I do really admire this author's technical deep dives though, very beautifully made
I mean, I didn't calculate what I wanted, but I built a mental model of what each mode does and when to choose which later.
- [Photoshop blends by ben](https://www.shadertoy.com/view/XdS3RW)
- [Photoshop Blends Branchless by poljere](https://www.shadertoy.com/view/Md3GzX)
Conway operators are blending modes for geometry.
I need to go away and think about this some more...
Informative article, but non-zoomable interface with tiny images on mobile is not great.
Yes, guilty as charged when I work with Blender's mix color shader node...
https://blender.stackexchange.com/questions/253936/what-does...
As is, it could be any of:
* Kitchen appliances
* Urban stealth
* Image processing
* Fashion contagion
* Music and rhythm
* ...
The second easiest way is to read the comments before the post.
I complain because I come here for news, not for riddles.