JSFiddle - React, Tailwind, and code Playground

HTML

<canvas id="example" width="500" height="400">

JavaScript

var r = 10000 // For a small radius the circles passes through the point
var x = 100
var y = 100
var alpha = Math.PI/8 // it doesn't occure for angles that are multiples of 45 degrees (PI/4)

$(function(){
    ctx = $("#example")[0].getContext("2d");
        
    ctx.arc(x, y, 3, 0, Math.PI*2);
    ctx.fill();
        
    ctx.beginPath();
    
    ctx.strokeStyle = "black";
    ctx.arc(x+Math.cos(alpha)*r, y+Math.sin(alpha)*r, r, 0, Math.PI*2);
    ctx.stroke();
});