2

Hello I'm not an expert neither in Java nor Swing but I was thinking (I don't want solution, maybe tutorial or idea) is it possible (and if it is) how to recognize shape drawn in window and make it 3d by rotating it about axis?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
whd
  • 1,819
  • 1
  • 21
  • 52

1 Answers1

3

Recognizing shapes is not a trivial exercise, but Java2D easily accommodates rotating defined instances of classes implementing the Shape interface in two dimensions. This example illustrates a few transformations. Java3D and Java OpenGL are three dimensional alternatives.

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045