Points on a sphere

Started by
2 comments, last by Koroljov 19 years, 9 months ago
I wish to place N points on a sphere, so that the distance between a point and his "neighbours" is constant for all the points. If N=2, there should be 2 points: the intersection between the sphere and a line trough its center. If N=3, there should be 3 points on the sphere. These 3 points should form an equal-sided triangle. If N=4, there should be 4 points on the sphere. These points should form a tetraedron. Is there a way to calculate the points for any value of N? If yes, how? If no, why not? I need something like this for generating realistic trees.
Why do my programs never work on other computers?
Advertisement
I think the answer is no.
A close approximation is a relaxation technique (place them at random and then move them as if they all repelled each other).
A good way to make trees is an L-system (google it) :o)
or this :

http://astronomy.swin.edu.au/~pbourke/geometry/spherepoints/
That looks useful. Thanks.
Why do my programs never work on other computers?

This topic is closed to new replies.

Advertisement