Re: Compositing math in SVG

But in your example, more opacity actually means we go away from white:

(.5, 0, 0) + (1-.5)*(1,1,1) = (1, .5, .5)

Higher opacity will make this multiplier smaller, (1-0.5) in this case.
For example for low opacity 0.1, we will have:

(.5, 0, 0) + (1-.1)*(1,1,1) = (1, .9, .9) and that is pretty close to white.

Received on Sunday, 22 July 2012 06:40:51 UTC