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

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)

Awesome Lists containing this project

README

          

# Blazingly Fast Rust Donut

![Donut](donut.png)

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