shared::utils::colors_utilsFunction color
Source pub fn color(pixel_intensity: PixelIntensity) -> [u8; 3]
Expand description
Generates a color based on the provided pixel intensity.
§Arguments
pixel_intensity
: A PixelIntensity
containing the number of iterations and the norm of the complex point.
§Returns
Returns an array containing the RGB values of the color.