34#include "ramCanvas.hpp"
38 std::chrono::time_point<std::chrono::system_clock> startTime = std::chrono::system_clock::now();
39 mjr::ramCanvas1c16b theRamCanvas(7680, 7680, 2.5, 4, -0.1, 1.1);
40 for(mjr::ramCanvas1c16b::coordFltType r=theRamCanvas.getMinRealX(); r<theRamCanvas.getMaxRealX(); r+=theRamCanvas.getPixWidX()/20) {
41 mjr::ramCanvas1c16b::coordFltType f = 0.5;
42 mjr::ramCanvas1c16b::coordIntType x = theRamCanvas.real2intX(r);
43 for(
int i=0; i<5000 && std::abs(f)<100; i++) {
46 mjr::ramCanvas1c16b::coordIntType y = theRamCanvas.real2intY(f);
47 theRamCanvas.drawPoint(x, y, theRamCanvas.getPxColor(x, y).tfrmAddClamp(mjr::ramCanvas1c16b::colorType(600)));
51 theRamCanvas.writeTIFFfile(
"bifurcation_diagram.tiff");
52 std::chrono::duration<double> runTime = std::chrono::system_clock::now() - startTime;
53 std::cout <<
"Total Runtime " << runTime.count() <<
" sec" << std::endl;
int main(int argc, char *argv[])