Re: A86: Drawing circles


[Prev][Next][Index][Thread]

Re: A86: Drawing circles



In a message dated 97-11-03 12:03:59 EST, you write:

> 
>  On Sun, 2 Nov 1997, MrManson wrote:
>  
>  > Robby Gutmann wrote:
>  > > 
>  > > Is there an easier way to draw circles than using sprites?  if not, 
>  > 
>  > yeah use sine and cosine, gonna have to manipulate the values in the OPs
>  
>  Don't use sine and cos functions to draw circles.  It's slow, and not well
>  suited to a bitmapped display.  Do a net search for "Bresenham" and
>  "circle" and you will find lots of info on drawing circles on bitmapped
>  displays.
>  
>  --------
>  Dan Eble <eble@cis.ohio-state.edu>
>           (http://www.cis.ohio-state.edu/~eble)
>  

The ticalc.org ti85 assembly source archive has an implementation of
Bressenham's circle algorithm.  I've not been able to understand it, but if
all you're wanting to do is port it, it shouldn't be too hard...

~Steve