Returns all integer points contained within circle.
circle
const c = { x:100, y:100, radius:100 };for (const pt of Circles.interiorIntegerPoints(c)) { ctx.fillRect(pt.x, pt.y, 1, 1);} Copy
const c = { x:100, y:100, radius:100 };for (const pt of Circles.interiorIntegerPoints(c)) { ctx.fillRect(pt.x, pt.y, 1, 1);}
Returns all integer points contained within
circle
.