[−][src]Function mandalas::ops::points_to_generate
pub fn points_to_generate(size: (usize, usize, usize)) -> u64
Check how many points need generating to acquire a smooth image for the given size.
This might not be 100% accurate but will try to be over- rather than underzealous.
Examples
for _ in 0..points_to_generate(opts.resolution) { // Generate and set pixel }