Punkt narysowania HTML Canvas

function drawPoint(point: Vector, width: number) {
  this.context.beginPath();
  this.context.arc(point.x, point.y, width, 0, Math.PI * 2);
  this.context.fill();
}
Himanshu Jangid