{
const context = DOM.context2d(width, 510),
projection = d3
.geoOrthographic()
.translate([width / 2, 255])
.rotate([0, -30]),
path = d3.geoPath(projection, context);
context.beginPath();
path(d3.geoGraticule10());
path({ type: "Sphere" });
context.stroke();
context.beginPath();
path.pointRadius(2);
path({ type: "MultiPoint", coordinates: points });
context.fill();
context.beginPath();
path.pointRadius(3);
path({ type: "MultiPoint", coordinates: visiblePoints });
context.fillStyle = "red";
context.fill();
return context.canvas;
}