Both the DOM and SVG are stylable with CSS3 where you can accomplish the glow effect: http://blog.gesteves.com/post/475773360/css-glow-effects-with-box-shadow
On Sun, Feb 13, 2011 at 11:00 PM, Mark McDonnell <[email protected]> wrote: > Hi, > I'm completely new to the Canvas API and so my first stop to find out more > about it was here: https://developer.mozilla.org/en/HTML/canvas > I've gone through some of the basics of drawing objects (rectangles and > circles etc) and am starting to look into integrating images, but what I > want to find out (before wasting too much time on learning Canvas) is > whether it's good for animating filters such as 'glow' effects? > Basically I've been asked by my boss to dynamically draw some circles on top > of an image and to have these circles show 'glowing' edges. But I've no idea > how to achieve this. > I know there is SVG (with Raphael.js) as a nice abstraction for the language > - and it maybe that SVG is what I should be using - let me know if so and > I'll start investigating that instead. > Just need some advice on whether Canvas can do what my boss has requested, > and if not, what other JavaScript based solutions (e.g. SVG) are there to > achieve this? > Many thanks. > Kind regards, > -- > Mark McDonnell > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
