home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / 13166 < prev    next >
Encoding:
Text File  |  1992-12-23  |  820 b   |  24 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!news.smith.edu!orourke
  3. From: orourke@sophia.smith.edu (Joseph O'Rourke)
  4. Subject: Re: How many dots in a circle?
  5. Message-ID: <1992Dec23.172722.9713@sophia.smith.edu>
  6. Organization: Smith College, Northampton, MA, US
  7. References: <1992Dec23.031735.13264@proto.com> <1992Dec23.161707.22424@unocal.com> <1992Dec23.170712.9468@sophia.smith.edu>
  8. Date: Wed, 23 Dec 1992 17:27:22 GMT
  9. Lines: 13
  10.  
  11. In article <1992Dec23.170712.9468@sophia.smith.edu> orourke@sophia.smith.edu (Joseph O'Rourke) writes:
  12. >The total number of pixels n is therefore
  13. >
  14. >    n = 8 Floor[ (Sqrt[2]/2) r ]  +  4
  15. >
  16. >Example: r=17, n = 100.
  17.  
  18. I am in error here: my calculation double-counts the four pixels on the
  19. x- and y-axes.  So the formula should be 
  20.  
  21.        n = 8 Floor[ (Sqrt[2]/2) r ]
  22.  
  23. Example: r = 17, n = 96.
  24.