An open API service indexing awesome lists of open source software.

https://github.com/hamza512b/ccube

Rotating 3d cube in terminal
https://github.com/hamza512b/ccube

3d c

Last synced: 3 months ago
JSON representation

Rotating 3d cube in terminal

Awesome Lists containing this project

README

        

![Rotating 3d cube](https://github.com/hamza512b/ccube/assets/63897375/f3909e9e-fdd1-456f-876a-0dc338590b6d)

# Rotating Cube in terminal
I have made this rotating cube from scratch, too learn more about C. I have always been facsinated by 3d computer graphics, which I usually do in Webgl and JavaScript. But since I am learning C, I tried to do this.

# To run yourself
Make sure you have make and some c compiler and simple run:
```
make
```

and then run executable with the width of charachters as argument.
```
./build/draw_cube 50
```