Re: Rotation of a cube

2021-07-29 Thread Greg Ewing
On 30/07/21 5:57 am, Michael F. Stemper wrote: I would like to animate the rotation of a 3-cube.ng each step. However, it seems to me that this is a solved problem, so there is probably a module that will do most of the scutwork for me. You might find something useful here: https://medium.com

Rotation of a cube

2021-07-29 Thread Michael F. Stemper
I would like to animate the rotation of a 3-cube. I know how to do animation with pygame. My first thought was to set up a cube as a list of coordinates, and then project those coordinates onto a plane by ray-tracing from a viewpoint. I could then incrementally rotate it using the rotation matrix[