Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivan-guerra/sierpinski
Create a Sierpinski Triangle animation using ncurses
https://github.com/ivan-guerra/sierpinski
sierpinski-triangle
Last synced: 17 days ago
JSON representation
Create a Sierpinski Triangle animation using ncurses
- Host: GitHub
- URL: https://github.com/ivan-guerra/sierpinski
- Owner: ivan-guerra
- License: unlicense
- Created: 2024-02-04T18:04:44.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-11T03:32:54.000Z (3 months ago)
- Last Synced: 2024-11-11T04:29:05.510Z (3 months ago)
- Topics: sierpinski-triangle
- Language: Rust
- Homepage: https://programmador.com/posts/2024/sierpinski/
- Size: 772 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sierpinski
https://github.com/ivan-guerra/sierpinski/assets/13009513/b6e31e62-b2a4-45eb-a7a9-85709cbfd73c
`sierpinski` is a command line application that renders the [Sierpinski
triangle][1] in your terminal. This implementation takes the [Chaos Game][2]
approach to generating the triangle. See below for the program usage.```
Create a Sierpinski Triangle animationUsage: sierpinski [OPTIONS]
Options:
-i, --max-iterations
max number of simulation iterations [default: 10000]
-r, --refresh-rate-msec
delay between iterations in microseconds [default: 100]
-h, --help
Print help
-V, --version
Print version
```[1]: https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle
[2]: https://en.wikipedia.org/wiki/Sierpi%C5%84ski_triangle#Chaos_game