Skip to main content

calculate_smooth_potential

Function calculate_smooth_potential 

Source
pub fn calculate_smooth_potential(
    i: u32,
    max_iterations: u32,
    z: Complex,
) -> f32
Expand description

Calculates the continuous potential (smooth coloring) value for quadratic escape-time fractals.

Filters out low escape iterations to guarantee complete transparency in the far exterior.