function drawLine(line, canvas, context, iterMax, algorithm) {
let Cr_min = -2.0;
let Cr_max = 1.0;
function drawLine(line, canvas, context, iterMax, algorithm) {
let Cr_min = -2.0;
let Cr_max = 1.0;
function updateDebugMenu() {
var jitMenuItem = document.getElementById("jitEnabled");
jitMenuItem.setAttribute("checked", gPref.getBoolPref("javascript.options.jit.chrome"));
function updateDebugMenu() {
var jitMenuItem = document.getElementById("jitEnabled");
jitMenuItem.setAttribute("checked", gPref.getBoolPref("javascript.options.jit.chrome"));
/***** helper functions from external sources *****/
// function below is based on http://developer.mozilla.org/en/docs/Code_snippets:Canvas
/***** helper functions from external sources *****/
// function below is based on http://developer.mozilla.org/en/docs/Code_snippets:Canvas