Create a class Mandelbrot that computes the Mandelbrot set on a given complex plane window.
The Mandelbrot set is defined by iterating:
starting from , and counting how many iterations are required for .
Requirements:
  • Class properties: xlim, ylim, resolution, maxIter
  • Method generate() returns a 2D matrix Z of iteration counts.

Solution Stats

4 Solutions

3 Solvers

Last Solution submitted on Feb 26, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...