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

Re: Compositing math in SVG

From: Rik Cabanier <cabanier@gmail.com>
Date: Sun, 22 Jul 2012 08:41:03 -0700
Message-ID: <CAGN7qDDDbOotr-cGmDzY_wjgKegR+SpPz7ecWRp74MVJugpnKw@mail.gmail.com>
To: Calculemus <calculemus1988@gmail.com>
Cc: steve@fenestra.com, www-svg@w3.org
Sorry,

I said it backwards: the *less* opacity the more it goes to white [?]

On Sat, Jul 21, 2012 at 11:40 PM, Calculemus <calculemus1988@gmail.com>wrote:

> 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.
>


338.gif
(image/gif attachment: 338.gif)

Received on Sunday, 22 July 2012 15:41:30 GMT

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