michael@0: gczeal(2); michael@0: function complex(aReal, aImag) {} michael@0: function mandelbrotValueOO (aC, aIterMax) { michael@0: for (var iter = 0; iter < aIterMax; iter++) { } michael@0: } michael@0: function f(trace) { michael@0: const width = 5; michael@0: const height = 5; michael@0: const max_iters = 5; michael@0: var output = []; michael@0: for (let img_x = 0; img_x < width; img_x++) { michael@0: for (let img_y = 0; img_y < height; img_y++) { michael@0: let C = new complex(-2 + (img_x / width) * 3, michael@0: -1.5 + (img_y / height) * 3); michael@0: var res = mandelbrotValueOO(C, max_iters); michael@0: if (output.length > 0 && complex(5)) { michael@0: } else { michael@0: output.push([res, 1]); michael@0: } michael@0: } michael@0: } michael@0: } michael@0: var timenonjit = f(false);