360 image rotations

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

360 image rotations

Post by Eric! »

Does anyone have a recommendation for a JS technique for rotating an image 360 degrees?

I would like to just layout a long panorama in a JPG or something, and then just have the javascript show a portion of it and wrap the edges and steer the view with the mouse.

Perhaps I'm way off base here with javascript, I don't know. I looked around and saw a lot of FLASH implementations but I need something simpler if possible for people who can upload panoramas but don't know squat about programming.

Any ideas?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: 360 image rotations

Post by Christopher »

You can do basic scaling with HTML which may work for you. But you need to use the canvas in HTML5 to do more advanced things in Javascript.
(#10850)
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: 360 image rotations

Post by Eric! »

I've seen some canvas rotations in HTML5 but some still seem to not be working in IE. I'm a bit wary of using HTML5 because a lot of the people who would be accessing this probably are still running IE7 or worse. It's a site for people who are 50 to 70 and the people who would be uploading the images to be rotated are very technically challenged...so it has to be quite simple for them.

Maybe there is a service out there that provides 360 support for uploaded images and I can just scrape the object tags off their site....
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: 360 image rotations

Post by Christopher »

(#10850)
Post Reply