jQuery/JS:寻找一种以 3D 视角动画立方体的方法
我一直在寻找一种方法,让 JavaScript 动画(最好使用 jQuery)表现得像旋转的 3D 立方体,类似于此脚本:
http://keith-wood.name/imageCube.html
阻止我接受 Keith 解决方案的是图像之间更平滑、更好的过渡的可能性。是否可以只使用 JS 制作一个更真实的版本?
-斯塔凡
I've been searching for a way to have a JavaScript animation (preferably using jQuery) behave like a rotating 3D cube, similar to this script:
http://keith-wood.name/imageCube.html
What stops me from settling with Keith's solution is the possibility for a more smoother and better transition between the images. Is it possible to make a more realistic version using only JS?
-Staffan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最终使用了 jQuery.imageCube 但之前我考虑过:
http ://www.kawa.net/works/js/animation/cube-e.html
它是纯 JS (没有 JQuery 依赖) - 我能够以某种方式更好地理解“它是如何完成的”。
虽然我不确定它是否仍然像 imageCube 一样“生涩”......:)
i've ended up using jQuery.imageCube but previously I've considered :
http://www.kawa.net/works/js/animation/cube-e.html
it's pure JS (no JQuery dependency) - I was able to somehow better understand "how it's done" from it.
although I'm not sure if it ain't still "jerky" just like imageCube ... :)