diff --git a/www/js/interface.js b/www/js/interface.js index 923eb6b..6e1fe81 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -599,16 +599,26 @@ const INTERFACE = { ctx.fillText(letters[i + 5], x, y); } - ctx.textAlign = "right"; + ctx.textAlign = "center"; for(let i = 0; i < 5; ++i) { - let x = basis_x - (0.85 * radius); - let y = basis_y - (gui_scale * (0.9 + (2 * i))); - ctx.fillText(numbers[i], x, y); + let x = basis_x - (1.15 * radius); + let y = basis_y - (gui_scale * (0.75 + (2 * i))); + + ctx.save(); + ctx.translate(x, y); + ctx.rotate(-Math.PI / 3); + ctx.fillText(numbers[i], 0, 0); + ctx.restore(); } for(let i = 0; i < 4; ++i) { - let x = basis_x + (1.5 * radius * (i + 0.45)); - let y = basis_y - (gui_scale * (9.9 + i)); - ctx.fillText(numbers[i + 5], x, y); + let x = basis_x + (1.5 * radius * (i + 0.25)); + let y = basis_y - (gui_scale * (9.75 + i)); + + ctx.save(); + ctx.translate(x, y); + ctx.rotate(-Math.PI / 3); + ctx.fillText(numbers[i + 5], 0, 0); + ctx.restore(); }