Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 740 Bytes

README.md

File metadata and controls

22 lines (11 loc) · 740 Bytes

3d-cube

This is a simpe spinning cube. It doesn't use any type of GUI, it only uses the terminal interface and ASCII.

The formulas used in this programs are the following:

Rotation matrix (more info on wikipedia):

Rotation formula

Distance between 2 points:

Distance between 2 points

3d line equation:

3d line equation

Demonstration

Gif of spinning cube