简体   繁体   English

如何在 hover 上为图像设置动画? (microsofed Remix 3D)[暂停]

[英]How to animate image on hover? (microsofed Remix 3D) [on hold]

I have been admiring the remix 3d site images found here: https://www.remix3d.com/board/3vkCqsxjqeH我一直在欣赏这里的混音 3d 网站图片: https://www.remix3d.com/board/3vkCqsxjqeH

when you hover your mouse over the image catalog the photos move.当您 hover 将鼠标悬停在图像目录上时,照片会移动。 I see something about ember.我看到了一些关于 ember 的东西。 I was just curious if anybody had experience with this and can give me some direction.我只是好奇是否有人有这方面的经验并且可以给我一些指导。 Thanks!谢谢!

This seems to be done by rendering all the images in advance as images and cycling through them on hover.这似乎是通过提前将所有图像渲染为图像并在 hover 上循环浏览它们来完成的。 However, this is not storage efficient since each image takes up space.但是,由于每个图像都占用空间,因此存储效率不高。 I would use three.js , which is a JavaScript library for displaying 3D stuff.我会使用three.js ,这是一个 JavaScript 库,用于显示 3D 内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM