Skip to main content

3D Rotations - 2.0.0

A simulation of 3D rotations using 3 angles!


Ian Mallett
(geometrian)
OK, before you start, you need to know a little math.
For starters, the 2D games most people make use 1 angle.
Spherical coordinates use 2.
This uses 3, and is comparable in complexity to a 4-dimensional coordianate system.
To solve this problem, I had to resort to matrices to do my trigonometry. Anyway, it was all very complicated, and I spent all day yesterday, working an hour into today to make it work. It doesn't look like much, but it was really, really, really, so hard.
Naturally, since I'm SUCH a nice person, I'm giving it here so you don't waste half your weekend staring into space trying to get this working.

Changes

Links

Home Page
http://geometrian.com/programming/index.php
Source
http://www.geometrian.com/data/programming/projects/3D%20Rotations/2.0.0/3D%20Rotations%202.zip

Releases

3D Rotations 2.0.0 — 10 Feb, 2008

3D Rotations 2.0.1 — 3 Jan, 2018

Pygame.org account Comments

  • Oof Boye 2018-02-12 19:22:25.407041

    can you give resources where you learned this. i'm really interested