Skip to main content

Module fractal

Module fractal 

Source
Expand description

Fractal Rendering System — Mandelbrot, Julia, 3D fractals, IFS, L-systems, flame fractals, Newton fractals, deep zoom, progressive rendering, fractal terrain.

A boss arena that IS a Mandelbrot set. You fight inside the fractal.

Re-exports§

pub use mandelbrot::MandelbrotRenderer;
pub use mandelbrot::MandelbrotParams;
pub use julia::JuliaRenderer;
pub use julia::JuliaParams;
pub use fractal3d::Mandelbulb;
pub use fractal3d::Mandelbox;
pub use fractal3d::RayMarchParams;
pub use ifs::IfsSystem;
pub use ifs::IfsFractal;
pub use ifs::AffineTx;
pub use lsystem::LSystem;
pub use lsystem::LSystemRule;
pub use lsystem::TurtleState;
pub use flame::FlameParams;
pub use flame::FlameVariation;
pub use newton::NewtonFractal;
pub use newton::Polynomial;
pub use terrain::FractalTerrain;
pub use terrain::TerrainParams;
pub use progressive::ProgressiveRenderer;

Modules§

flame
Flame fractals (Scott Draves algorithm) — nonlinear IFS with color mapping.
fractal3d
3D fractals — Mandelbulb, Mandelbox via ray marching on signed distance fields.
ifs
Iterated Function Systems (IFS) — Sierpinski, Barnsley fern, custom IFS.
julia
Julia set rendering.
lsystem
L-systems with parametric rules and 3D turtle graphics.
mandelbrot
Mandelbrot set rendering with arbitrary precision deep zoom.
newton
Newton fractal for arbitrary polynomials.
progressive
Progressive rendering — low-res first, refine over multiple frames.
terrain
Fractal terrain generation — diamond-square, midpoint displacement, fBm.