W3C home > Mailing lists > Public > www-svg@w3.org > July 2012

Re: Compositing math in SVG

From: Calculemus <calculemus1988@gmail.com>
Date: Sun, 22 Jul 2012 08:40:23 +0200
Message-ID: <CAOn8Oo83v_Je3atEnpMPxSKXmPVrfYiH7PiUqM04-kXK7_35wA@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: steve@fenestra.com, www-svg@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT