Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerminalCube

Various implementations of cube.c which use the following rotation matrix to perform a basic 3-dimensional rotation in Euclidean space:

$$<math display=block> \begin{alignat}{0} R_x(\theta) &=\ \ \begin{bmatrix} \ 1 & 0 & 0\\\ 0 & \cos(\theta)& -\sin(\theta) \\\ 0 & \sin(\theta) & \cos(\theta) \\\ \end{bmatrix} \\\ \\ \\\ R_y(\theta) &=\ \ \begin{bmatrix} \cos(\theta) & 0 & \sin(\theta) \\\ 0 & 1 & 0 \\\ -\sin(\theta) & 0 & \cos(\theta) \\\ \end{bmatrix} \\\ \\ \\\ R_z(\theta) &=\ \ \begin{bmatrix} \cos(\theta) & -\sin(\theta) & 0 \\\ \sin(\theta) & \cos(\theta) & 0 \\\ 0 & 0 & 1 \\\ \end{bmatrix} \end{alignat} </math>$$

Spinning Cube

About

A spinning terminal cube implemented in a variety of programming languages

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages