{
let tab = '\n';
for (let x = -Math.PI; x < Math.PI; x += Math.PI/18) {
let g = (x * 180 / Math.PI).toFixed(0);
while (g.length < 5) {
g += ' ';
}
tab += g + ' ';
for (let y = -Math.PI; y < Math.PI; y += Math.PI/18) {
const angleDiff = getAngleDiff(x, y);
tab += ' ';
if (angleDiff > angleTolerance) {
tab += '*'
} else {
tab += ' '
}
}
tab += '\n';
}
return tab;
}