Unstoppable Domains

SVG or Flash for dynamic 2D browser side graphics?

Spaceship Spaceship
Watch

sky

Established Member
Impact
40
I have Adobe CS3, which bundles with Flash, which I've never used before.

The application I envision requires some dynamic 2D rendering, preferably just drawn on the string real time in response to function calls from JavaScript. I'd rather not have to send the request back to the server to render into an image and fetch the image.

What is the best way to use the browser page like a 2D canvas and draw on it from JavaScript, if any. I'm guessing SVG, but I read somewhere that SVG's closest competitor is Flash, and I've never thought of Flash as being the kind of tool that would do what I want in regard to what I stated above.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Flash and SVG are two very different things. SVG is a vector image file, while Flash is an action-based animation.

I suppose that you could use JavaScript to dynamically generate a SVG image file, but I've never seen it done.

But Flash is definitely the best thing to do what you need.
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back