Skip to main content
4 of 4
deleted 147 characters in body
Carlo Beenakker
  • 188.2k
  • 18
  • 448
  • 651

For some ready-to-use code (with a demo, see below), you can use the Fibonacci algorithm. (Click on the $</>$ sign at the top of that page to see the code.)

demo by Jim Bumgardner

Fibonacci algorithm: A fast method of producing an arbitrary number of equally distributed points around a sphere. This is accomplished by drawing a fibonacci spiral (similar to sunflower seed pattern) that maintains constant surface area.

Carlo Beenakker
  • 188.2k
  • 18
  • 448
  • 651