最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - Recreating the Javascript-powered 360° VR view from the iPad gallery - Stack Overflow

programmeradmin9浏览0评论

On the iPad gallery at / there is a nifty 3D-ish view when you click on the "360°"-Button on the lower right. It seems to be built with Prototype, some custom JS and 180 single JPEGs.
Now, I don't want to steal Apple's code, but I really would like to have a similar effect. I'm afraid recreating the effect all by myself would be too much for me, so has anybody ever done something like this and released it as open source (or a paid library or something like this)? Integration with jQuery would be an added bonus.

On the iPad gallery at http://movies.apple.com/ipad/gallery/ there is a nifty 3D-ish view when you click on the "360°"-Button on the lower right. It seems to be built with Prototype, some custom JS and 180 single JPEGs.
Now, I don't want to steal Apple's code, but I really would like to have a similar effect. I'm afraid recreating the effect all by myself would be too much for me, so has anybody ever done something like this and released it as open source (or a paid library or something like this)? Integration with jQuery would be an added bonus.

Share Improve this question edited Feb 17, 2010 at 9:48 winsmith asked Feb 17, 2010 at 9:39 winsmithwinsmith 21.6k9 gold badges41 silver badges50 bronze badges 2
  • that is cool... It is probably part of the same tool that created the 180 rotated JPEG. – Thilo Commented Feb 17, 2010 at 9:44
  • Thilo: I suppose the JPEGs are just rendered with some 3D software. – winsmith Commented Feb 17, 2010 at 9:47
Add a comment  | 

7 Answers 7

Reset to default 10

How about this:

Reel is a jQuery plugin which takes an image tag and makes it a live "projection" of pre-built animation frames sequence. Its aim is to provide a 360° view of something or someplace. Great alternative to widely used Flash techniques.

Maybe what heporap is trying to say is: construct the 3D VR effect in the same way you might make a slider animation.

I guess a slider changes the position of an image in relation to where a mouse cursor is positioned so...

Perhaps try changing the IMG tag's SRC attribute on document.onmousemove and object.onmousedown for drag/positioning effect?

Maybe that sounds obvious, and I'm no maverick coder but it's a start...

I know its an old thread, but its still high on google result. Here is a jQuery plugin that does exactly that effect http://giniedp.github.com/spritespin/

you better try out threesixty: http://www.mathieusavard.info/threesixty/

You may make it like a slider to change image's src.

http://movies.apple.com/media/us/ipad/2010/spins/apple-ipad-us-20100127_512x512/ipad-1up-us-20100127_512x512_172.jpg http://movies.apple.com/media/us/ipad/2010/spins/apple-ipad-us-20100127_512x512/ipad-1up-us-20100127_512x512_135.jpg

Try this one with zoom: http://www.ajax-zoom.com/examples/example15.php

Or use this one. It's also Javascript but with curves for slowing down and another kinds of zoom functions.

发布评论

评论列表(0)

  1. 暂无评论