如何径向移动图片?

发布于 2024-12-27 16:37:28 字数 174 浏览 3 评论 0原文

我正在尝试构建一个食物菜单,用户在屏幕监视器上看到的第一件事是十二种不同菜肴的旋转图像。我想象尝试使用线程和计时器,通过更改坐标或布局管理器将对象旋转一圈。

然而,鼓励 3d 旋转运动,但我没有真正的经验。我还听说您可以使用 java applet 并让 javascript 旋转对象。我欢迎任何建议并感谢您的阅读。

I'm trying to build a food menu that the first things users will see on the screen monitor are rotating images of twelve different dishes. I imagine trying to use threads and a timer that will rotate the objects in a circle via changing coordinates or layout managers.

However, 3d rotational movements are encouraged to which I have no real experience in. I've also heard that you can use a java applet and let javascript rotate the objects. I welcome any recommendations and thank you for reading.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怎樣才叫好 2025-01-03 16:37:28

如果您不想使用整个 Java 3DOpenGL 路线,您可以通过使用 AffineTransform 和变化 x 获得 2½ D 效果, y 和外观尺寸。 此处有一个示例。

If you don't want to go the whole Java 3D or OpenGL route, you can get a 2½ D effect by using AffineTransform and varying x, y and the apparent size. There's an example here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文