Skip to content

AbhinavTuladhar/Projection-of-a-Cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Projection-of-a-Cube

Modules required: pygame and numpy

A program to demonstrate the projection of a 3D cube onto the 2D screen. It makes use of rotation and projection matrices.

Instructions:

x, y and z buttons are used to toggle rotations around the respective axes (i.e. x is for x-axis and so on). The up and down arrow keys are used to zoom in and out. Some constants can be changed as per need.

Screenshot:

image

About

See the repo name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages