https://github.com/inc44/blazingly_fast_rust_donut
Blazingly Fast 3D ASCII Rust Spinning Donut 🍩 (2000+ FPS on a 5 year old CPU)
https://github.com/inc44/blazingly_fast_rust_donut
2d 3d ascii ascii-art ascii-donut ascii-graphics computer-graphics donut donuts mathematics optics physics projection rust rust-lang spinning-donut transformation transformation-matrix transformations
Last synced: 3 months ago
JSON representation
Blazingly Fast 3D ASCII Rust Spinning Donut 🍩 (2000+ FPS on a 5 year old CPU)
- Host: GitHub
- URL: https://github.com/inc44/blazingly_fast_rust_donut
- Owner: Inc44
- License: mit
- Created: 2024-02-14T20:49:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-01T07:11:17.000Z (8 months ago)
- Last Synced: 2025-04-01T17:16:23.575Z (7 months ago)
- Topics: 2d, 3d, ascii, ascii-art, ascii-donut, ascii-graphics, computer-graphics, donut, donuts, mathematics, optics, physics, projection, rust, rust-lang, spinning-donut, transformation, transformation-matrix, transformations
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Blazingly Fast Rust Donut

This Rust program generates a rotating donut in the terminal using ASCII art. The main mechanism involves mathematical transformations and buffer manipulations to create the illusion of a 3D object in motion.
## Running the Program
- **Install Rust:** Ensure you have Rust installed on your system. If not, you can download it from [the official Rust website](https://www.rust-lang.org/tools/install).
- **Install crate:** `cargo install blazingly_fast_rust_donut`
- **Run:** `blazingly_fast_rust_donut`## Notes
- The rendering loop is set to run indefinitely. You can terminate the program by pressing `Ctrl+C` in the terminal.
- The program's performance may vary based on the terminal's capabilities and the system's hardware specifications.## License
MIT