I am trying to make a three dimensional dodecahedron rotate around the screen and I have a cube working but I can't figure out the coordinates in 3-space of the vertices of a dodecahedron. I would like to have the vertives of this shape centered around the origin, my program can take these and translate them to screen coordinates. Any help would ge greatly appreciated. TIA
George Orfanakis
The good news is: I was able to find a description of a dodecahedron in 3 dimensional turtle talk which I had written in 1980 for an Apple IIb The bad news is: I could not find my notes regarding how I calculated this description.
The worse news is: I am not sure the description is accurate. Because it displayed on a low resolution monitor, the numbers could have been off with no noticeable effect. The description did, however generate a 3d dodecahedron.
3 dimensional turtle talk has four commands:
M for move n many steps forward (in the direction the turtle is currently pointing)
T for turn d degrees
R for repeat the preceding sequence m times
X for rotate axially z degrees (imagine a airplane rolling)
The syntax is MnTdRmXz etc.
got that?
The dodecahedron's description is:
M40T72R5M40X63.435T288X296.565R5M40T72M40X63.435T288X296.565R4