Three integer algorithms drawing circles
bresenham_circle => code by CHANDAN KUMAR modified to work as a function, returning X and Y coordinates of circle point with zero origin
bresenham_circle2 => algorithm from Wikipedia (http://en.wikipedia.org/wiki/Midpoint_circle_algorithm)
midpoint_circle => midpoint algorithm from http://groups.csail.mit.edu/graphics/classes/6.837/F98/Lecture6/circle.html
circle_test => explains why i had to look for the third algorithm, and the first two were not good enough :)
Cite As
Xenya (2024). Three integer algorithms drawing circles (https://www.mathworks.com/matlabcentral/fileexchange/40212-three-integer-algorithms-drawing-circles), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |