Skip to content

ivan-guerra/sierpinski

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sierpinski

sierpinski.mp4

sierpinski is a command line application that renders the Sierpinski triangle in your terminal. This implementation takes the Chaos Game approach to generating the triangle. See below for the program usage.

Create a Sierpinski Triangle animation

Usage: sierpinski [OPTIONS]

Options:
  -i, --max-iterations <MAX_ITERATIONS>
          max number of simulation iterations [default: 10000]
  -r, --refresh-rate-msec <REFRESH_RATE_MSEC>
          delay between iterations in microseconds [default: 100]
  -h, --help
          Print help
  -V, --version
          Print version

About

Create a Sierpinski Triangle animation using ncurses

Topics

Resources

License

Stars

Watchers

Forks

Languages