1

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.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • *"use a java applet and let javascript rotate the objects"* Terrible idea. 1) It could be done all in JS (easier with the help of an HTML5 canvas), or it could all be done in Java. No need to mix the two. 2) Why an applet? What does the browser window wrapper do for it? – Andrew Thompson Jan 19 '12 at 05:52
  • lol thanks I concur, I have not moved to JS and Front End in general thank you again for the answer! – user1157675 May 18 '15 at 23:01

1 Answers1

2

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.

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045
  • 1
    thank you again for the answer and I've been playing around more with WebGl and OpenGL now, but ill definitely take a look – user1157675 May 18 '15 at 23:02