function svgOverlay(t) {
const svgnames = getAllPlanets(t).map(({name, dDec, dRA}) => {
const planetAttrs = {fill:'white','dominant-baseline':'hanging'};
const planetName = svgt`<text x=${0} y=${0} ${planetAttrs}> ${name}</text>`
return translate(xyzcoords({dDec,dRA}), cull(planetName));
});
const pathAttrs= {stroke:'white',fill:'none','stroke-dasharray':'8 3'};
const svgline = svgt`<polyline points="${path('mars',t)}" ${pathAttrs}/>`
const view = camera.matrixWorldInverse.elements;
const project = camera.projectionMatrix.elements;
return svgtBox(transform(project,view,g(svgline,...svgnames)), width,height);
}