Click to See Complete Forum and Search --> : Can JS rotate graphics?


tim_gor
04-22-2003, 05:06 AM
I don't suppose Javascript can rotate / manipulate graphics can it?

khalidali63
04-22-2003, 05:37 AM
However, you can get the effect easily by using several rotating images and display them in a sequence to imiitate the rotation effect..

:p

tim_gor
04-22-2003, 08:47 AM
So I guess the answer's no then...?
Anyone have a neat getaround? Perhaps passing objects back and forth Java or another more powerful language?

Much appreciated!

Jona
04-22-2003, 10:30 AM
JavaScript cannot edit/create images, but if you're referring to displaying already existing images in different ways on a Web page, yes, JavaScript can do it. What exactly are you looking for?

AdamGundry
04-22-2003, 11:59 AM
Javascript can theoretically manipulate graphics in SVG (Scalable Vector Graphics) format, a W3C standard similar to Flash. Unforunately, most of the major browsers need plugins to view SVG files.

Check out the W3C specification here:
http://www.w3.org/Graphics/SVG

Adam

Jona
04-22-2003, 12:39 PM
I see. ;)