https://github.com/okelleydevelopment/sierpinksi-triangle-rs
A fun project (originally attempted in C++) finally finished in Rust!
https://github.com/okelleydevelopment/sierpinksi-triangle-rs
Last synced: 12 months ago
JSON representation
A fun project (originally attempted in C++) finally finished in Rust!
- Host: GitHub
- URL: https://github.com/okelleydevelopment/sierpinksi-triangle-rs
- Owner: OkelleyDevelopment
- Created: 2021-01-26T22:38:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-26T22:50:48.000Z (over 5 years ago)
- Last Synced: 2025-03-06T12:51:57.405Z (over 1 year ago)
- Language: Rust
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sierpinski Triangle
## Motivation
Originally a project I attempted in C++ but with little luck, this is a
small project that helped me learn more about the image-rs crate while
refreshing my memory about the Rust syntax.
## Prerequisites
- Cargo install
- Rustc and Rust installed
## Program Compilation and Execution
Simply run the command: `cargo run`
## Resources
- [Sierpinski Triangle Wiki]("https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle")
- [image-rs GitHub]("https://github.com/image-rs/image")
- [image-rs official docs]("https://lib.rs/crates/image")
## Future Goals
While I have accomplished my initial goal listed in the Motivation section,
some future goals would be:
- Add ability to specify image size
- specify amount of iterations
- Possible display of the image being created using Piston or another graphics library