Skip to content

For-The-Wolf/fractory_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fractory_rs

A rust library for rendering fractals

Use

Create visualisations of any fractal function by implementing the Drawable trait and calling fractory_rs::draw_function() on the custom fractal definition.

Or, use some of the included FractalFunctions and ColourMaps to quickly create visualisations of some popular fractals such as Mandlebrot and Burning Ship.

Examples

Recreate the images below by calling the associated cargo example:

Mandlebrot

Run cargo run --example mandlebrot

mandlebrot example

Run cargo run --example mandlebrot_zoomed

mandlebrot zoomed example

Burning ship

Run cargo run --example burning_ship

burning ship example

Newton's fractal

Run cargo run --example newton

Newton fractal example

About

A rust library for rendering fractals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages