home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!proto!joe
- From: joe@proto.com (Joe Huffman)
- Newsgroups: comp.graphics
- Subject: Re: How many dots in a circle?
- Message-ID: <1992Dec23.031735.13264@proto.com>
- Date: 23 Dec 92 03:17:35 GMT
- References: <1992Dec22.134450.15558@cactus.org>
- Organization: FlashTek, Inc.
- Lines: 25
-
- rdd@cactus.org (Robert Dorsett) writes:
-
- >Given: - a rectangular coordinate system, raster display.
- > - A circle, of radius r, and a straightforward drawing algorithm,
- > assuming averaging elimination of round-off errors.
-
- >What is the minimum number of discrete points that will exist in the
- >perimeter of that circle? And, of more interest, if one has a minimum
- >number of points required, what will be the minimum radius needed to
- >produce that number?
-
- The number of points in a single quadrant is 2 * radius. In the entire
- circle it follows that it is 8 * radius. I forget the proof for this,
- but I proved it (to my satisfaction anyway) several years ago when I was
- trying to draw an arc that started and ended at something other than
- at 90 degree increments.
-
- If it isn't obvious after looking at it for a while, let me know and I'll
- go back and look at my source code and see if I can find some comments on
- how I arrived at that conclusion....
-
-
- --
- netcom!proto!joe
- joe@proto.com
-