2 releases
0.1.1 | Feb 17, 2019 |
---|---|
0.1.0 | Feb 11, 2019 |
#7 in #mandelbrot
10KB
157 lines
Fractious
fractious
is a command-line program for generating images of the Mandelbrot set.
Usage
With the default options, fractious
produces the following image:
$ fractious -o mandelbrot.jpeg
The region of complex numbers to display can be specified, as can the dimensions of the image:
$ fractious -o mandelbrot_corner.jpeg -r "-2+1i,0" -p 600x300
Installation
Precompiled binaries are available for Linux, macOS, and Windows.
Linux and macOS binaries are static, so nothing else needs to be installed. Windows binaries require Microsoft Visual C++ (MSVC) Redistributable for Visual Studio 2017.
For Rust programmers, fractious
can be installed with cargo
:
$ cargo install fractious
Build
If you have Rust installed, you can build from source:
$ git clone git@github.com:jonstites/fractious.git
$ cd fractious
$ cargo build --release
$ ./target/release/fractious --version
fractious 0.1.1
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~6.5MB
~110K SLoC