Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Why choose pixels while rasterizing circle?
1 point by shivajikobardan 23 hours ago | hide | past | favorite | 2 comments
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.





This is the sort of questions LLMs can be fairly useful for. They give you a reasonable answer since it's a well-known topic and you can immediately ask follow-up questions.

its relevant for drawing outlines and anti-aliasing



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: