Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.81 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.81 KB

fractalgen

A rust based fractal generator, essentially a rust clone of my other fractal renderer project in C.

Getting started

cargo run --release -- <args>

Is the main syntax for making renders. The --mapfile argument requires a file with a list of hexcodes as an argument, see libcmap for a repository with many of these.

See cargo run -- --help for more information on what arguments are available and how to use them.

Examples

Mandelbrot renders

cargo run --release -- --mapfile path/to/libcmap/colourmaps/lesbian.cmap -s -x 3 --image_centre -0.6,0 Mandelbrot with lesbian flag colourmap

cargo run --release -- --mapfile path/to/libcmap/colourmaps/blues.cmap -s -x 0.2 -i 2000 --image_centre -0.8,0.15 Mandelbrot - seahorse valley in blues colourmap

cargo run --release -- --mapfile path/to/libcmap/colourmaps/bud5.cmap -s -x 0.0002 -i 2000 --image_centre -0.7439057990393522,0.1317168628468215 Mandelbrot - deep zoom in bud5 colourmap

Julia renders

cargo run --release -- --mapfile path/to/libcmap/colourmaps/binary.cmap -s -f julia --julia_centre -0.8,0.156 Julia set - example render 1 in binary colourmap

cargo run --release -- --mapfile path/to/libcmap/colourmaps/Skydye01.cmap -s -f julia --julia_centre -0.4,0.6 Julia set - example render 2 in Skydye01 colourmap

cargo run --release -- --mapfile path/to/libcmap/colourmaps/Gallet01.cmap -s -f julia --julia_centre 0.285,0.01 Julia set - example render 3 in Gallet01 colourmap

cargo run --release -- --mapfile path/to/libcmap/colourmaps/Gallet06.cmap -s -f julia --julia_centre -0.835,-0.2321 Julia set - example render 4 in Gallet06 colourmap

Burning ship renders

cargo run --release -- --mapfile path/to/libcmap/colourmaps/drozdis1.cmap -s -f burningship --image_centre -1.75,-0.03 -x 0.1 Burning ship fractal - example render 1 in drozdis1 colourmap

cargo run --release -- --mapfile path/to/libcmap/colourmaps/blues.cmap -s -f burningship --image_centre -1.67415,-0.002 -x 0.01 Burning ship fractal - example render 2 in blues colourmap