Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivan-guerra/cube
Render a cube in the terminal
https://github.com/ivan-guerra/cube
computer-graphics ncurses
Last synced: 22 days ago
JSON representation
Render a cube in the terminal
- Host: GitHub
- URL: https://github.com/ivan-guerra/cube
- Owner: ivan-guerra
- License: unlicense
- Created: 2023-11-15T06:12:59.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-28T15:06:27.000Z (3 months ago)
- Last Synced: 2024-11-28T15:39:17.202Z (3 months ago)
- Topics: computer-graphics, ncurses
- Language: Rust
- Homepage: https://programmador.com/posts/2023/ncube/
- Size: 838 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cube
https://github.com/user-attachments/assets/4b174bab-11b1-4958-8f58-7abfdd522c53
`cube` is a GUI application that renders a 3D cube. You can rotate the cube in
3D space using the arrow keys.Below is the program usage message that can be seen by running `cube --help`:
```text
Render a cube in 3D.Usage: cube [OPTIONS]
Options:
-f, --fov-angle-deg field of view angle in degrees [default: 1]
-c, --camera-dist distance of camera from the center of the cube [default: 256]
-h, --help Print help
-V, --version Print version
```