
Originally Posted by
satsujin
Hi I am wondering if it is possible to get an integer based function for a circle. I tried using the y = Square Root(r^2 - x^2) function and rounding off the y values but that just gives me a broken circle. The reason I need an integer based result is that im plotting this into a matrix array and not a Cartesian graph so I just need a rough representation of a circle. There are programming algorithms to do this like Bresenham's Circle Algorithm but just wondering if it's possible using the original circle equation.
Thanks,
satusjin.