void FractalCreator::run(string name) { calculateIteration(); calculateTotalIterations(); drawFractal(); writeBitmap("test.bmp"); }
void FractalCreator::run(string filename) { addZoom(Zoom(_width/2, _height/2, 4.0/_width)); addZoom(Zoom(295, _height - 202, 0.1)); addZoom(Zoom(312, _height - 304, 0.1)); calculateIteration(); calculateRangeTotal(); drawFractal(); writeBitmap(filename); }