Ask HN: Why choose pixels while rasterizing circle?

1 shivajikobardan 1 8/18/2025, 1:41:33 PM
https://imgur.com/a/2e21Yro

Like here, I can simply plot the pixel that is a part of circle. I don't quite get with this choosing a midpoint, finding a distance from midpoint stuffs.

https://funloop.org/post/2021-03-15-bresenham-circle-drawing-algorithm.html

I am studying about bresenham's circle drawing algorithm btw.

Comments (1)

pestatije · 1h ago
its relevant for drawing outlines and anti-aliasing