Skip to content

A dumb CLI program that draws a 3D on your terminal

Notifications You must be signed in to change notification settings

Jonny-exe/3d-cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A dumb CLI program that draws a 3D on your terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages