Timeline for How can I calculate "All squares within R" in a natural looking manner?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 7, 2015 at 23:00 | vote | accept | Raven Dreamer | ||
Apr 9, 2014 at 21:17 | comment | added | Steven Stadnicki | @ClassicThunder I strongly recommend against building a filled circle that way - it's surprisingly difficult to guarantee that you won't get 'holes' in the fill and some pixels will definitely be hit more than once. Instead, use the midpoint algorithm (or similar) to determine (for instance) the X-bounds for each scanline of the circle, and just loop over all the pixels from one end of the scanline to the other. | |
Apr 9, 2014 at 20:35 | comment | added | ClassicThunder | Rerunning the Midpoint Circle Algorithim subtracting 1 from the radius each time until the radius is 1 results in a filled circle. | |
Mar 31, 2014 at 2:46 | history | answered | David Kiger | CC BY-SA 3.0 |