ndelloop(({1:0,2:0}),({1:r,2:i+regionSize}),0));
  var d = pixeldiv(x+pixSize, y+pixSize, pixSize, mandelloop(({1:0,2:0}),({1:r+regionSize,2:i+regionSize}),0));
  return [a,b,c,d];
}

function mandelMadness(x, y, r, i, pixSize,
                       maxx, maxy,
                       mini, minr, maxi, maxr)
{
  for (;;) {
     var docElt = document.documentElement;
     var xdil = (maxi - mini) / (maxx - 0);
     var regionSize = pixSize * xdil;
     for (;;) {
         if (x+pixSize >= maxx) {
           