function cb(x, y, r, vis) {
        var key2 = x + "," + y;
        var formFactor = vis * (1 - r / range);
        if (formFactor == 0) {
          return;
        }
        cache[key2] = formFactor;
      }
Compute FOV ("form factor") for a potential light source at [x,y]