data = {
const resolution = 800;
const range = 1.2;
const invert = circleInverter(0, 0, 1);
const invertedLattice = d3.cross(
d3.range(-range, range, 2*range/resolution),
d3.range(-range, range, 2*range/resolution)
).map(coord => method(...invert(...coord)));
return math.reshape(invertedLattice, [resolution, resolution]);
}