Advertisement

how to set equally spaced points on a sphere?

Started by May 12, 2001 09:19 PM
2 comments, last by thuned 23 years, 9 months ago
i want to have some lines coming out of a sphere. if i just do it by rotating, some areas are denser than others. is there a math eqn for this or something? life is unfair, take advantage of it. UNMB2 - if the link doesn''t work, try clicking it
life is unfair, take advantage of it.UNMB2 - if the link doesn't work, try clicking it :)
Check the Sphere FAQ:
http://www.math.niu.edu/~rusin/papers/known-math/index/spheres.html

Apparently, for a mathematically correct solution, it''s harder than it would seem. Although I think doing an attration-repulsion particle simulation on the surface would produce decent results.
Advertisement
wow, nice, never thought of that. like that VSEPER in chem, rite? orbitals stay as far as possible..
cool, i''ll try it out

life is unfair, take advantage of it.
UNMB2 - if the link doesn''t work, try clicking it
life is unfair, take advantage of it.UNMB2 - if the link doesn't work, try clicking it :)
Take two pyramids (each has 4 sides and a base), and plug the bases together. We now have an 8 sided object. We should have a vertex at each pole, and 4 vertices equally spaced around the equator.

Subdivide each edge. As a result, each triangle is subdivided into 4 new triangles, and each one of those triangles has 3 edges. Recursively subdivide the edges.

Want something different? How about random points with a uniform distribution? Create 3 random numbers between -1 and 1. This is a 3d vector. Normalize it. Repeat until you have as many vectors as you want.



Edited by - bishop_pass on May 13, 2001 2:38:30 AM
_______________________________
"To understand the horse you'll find that you're going to be working on yourself. The horse will give you the answers and he will question you to see if you are sure or not."
- Ray Hunt, in Think Harmony With Horses
ALU - SHRDLU - WORDNET - CYC - SWALE - AM - CD - J.M. - K.S. | CAA - BCHA - AQHA - APHA - R.H. - T.D. | 395 - SPS - GORDIE - SCMA - R.M. - G.R. - V.C. - C.F.

This topic is closed to new replies.

Advertisement