[whatwg] Canvas extensions from opera-2dgame

Ian Hickson ian at hixie.ch
Wed Jun 3 15:47:23 PDT 2009


On Thu, 4 Jun 2009, João Eiras wrote:
> 
> The opera-2dgame context also has APIs for collision detection and control
> painting
> http://my.opera.com/WebApplications/blog/show.dml/200788
> I'm not familiar with the current canvas spec, but are these features
> supported somehow? Or would they have the potential to be included ?

The collision detection is basically the same as isPointInPath(), already 
in HTML5, and the locking is implicit in most <canvas> implementations (it 
only repaints in between script executions, and this is actually called 
out in HTML5 as the right thing to do), so I don't think there's anything 
to add from 2dgame at this point.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list