Re: [whatwg] crossorigin property on iframe

2012-04-13 Thread Markus Ernst
Am 12.04.2012 22:35 schrieb Ojan Vafai: On Thu, Apr 12, 2012 at 1:32 PM, Adam Barthw...@adambarth.com wrote: On Thu, Apr 12, 2012 at 1:17 PM, Ojan Vafaio...@chromium.org wrote: On Thu, Apr 12, 2012 at 1:07 PM, Boris Zbarskybzbar...@mit.edu wrote: On 4/12/12 3:49 PM, Adam Barth wrote: The

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread Ashley Gullen
This looks very handy for games as well! Things like 'screen' work very nicely for some effects, especially explosions. Surely you'd want to extend the existing list of globalCompositeOperation though? Otherwise you'd have to define how globalCompositeOperation and globalBlendOperation

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread Rik Cabanier
On Fri, Apr 13, 2012 at 2:17 AM, Ashley Gullen ash...@scirra.com wrote: This looks very handy for games as well! Things like 'screen' work very nicely for some effects, especially explosions. Yes, these effects are very commonly used in games, animation and artwork. Surely you'd want to

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread Rik Cabanier
For people who don't know what blending is, I found a simple tutorial here: http://www.photoshopessentials.com/photo-editing/layer-blend-modes/ It's written for Photoshop but applies to most products that implements this feature. Rik On Wed, Apr 11, 2012 at 3:59 PM, Rik Cabanier

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread David Geary
On Fri, Apr 13, 2012 at 11:16 AM, Rik Cabanier caban...@gmail.com wrote: On Fri, Apr 13, 2012 at 2:17 AM, Ashley Gullen ash...@scirra.com wrote: This looks very handy for games as well! Things like 'screen' work very nicely for some effects, especially explosions. Yes, these effects are

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread Rik Cabanier
On Fri, Apr 13, 2012 at 10:36 AM, David Geary david.mark.ge...@gmail.comwrote: On Fri, Apr 13, 2012 at 11:16 AM, Rik Cabanier caban...@gmail.com wrote: On Fri, Apr 13, 2012 at 2:17 AM, Ashley Gullen ash...@scirra.com wrote: This looks very handy for games as well! Things like 'screen' work

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread David Dailey
Perhaps if some of the browsers start to implement blend modes for disposable graphics they'll finally start to do it properly for SVG as well. I've had a devil of a time figuring out if Opera or IE/ASV properly handles some of the effects at http://cs.sru.edu/~ddailey/svg/V9.svg since none of

Re: [whatwg] Adding blending to the canvas API

2012-04-13 Thread Rik Cabanier
Not having an implementation of BackgroundImage makes blending in SVG very difficult. I'm unsure why you think that specifying a magenta color will change the color model to subtractive. As far as I know, the renderer is always computing in RGB. Rik On Fri, Apr 13, 2012 at 6:35 PM, David Dailey