Up    Next

sph_circle - points on circles on a sphere

Usage    |    Examples    |    Notes

Usage

Synopsis

sph_saff [options] num_points

Description

Distribute a number of points on a sphere using the algorithm from "Distributing many points on a sphere" by E.B. Saff and A.B.J. Kuijlaars, Mathematical Intelligencer 19.1 (1997) 5--11.

Options

num_points
The number of points to spiral on the sphere

-h
program help

-a <ang>
increment each point placement by an angle

-p
place points at the two poles

-o <file>
write output to file, if this option is not used the program writes to standard output

Examples

Distribute 200 points on a sphere
  sph_saff 200 | antiview -v b
Distribute 200 points on a sphere, start at the poles
  sph_saff -p 200 | antiview -v b
Distribute 200 points on a sphere, using a golden section offset
  sph_saff -a 222.49223595 200 | antiview -v b
An attractive spiral
  sph_saff -a 65 500 | antiview -v b

Notes

An implementation of an "Easy method for a fairly good point distribution [Saff/Kuijlaars]"

Anton Sherwood helped with details of the algorithm. The angle offset option uses his method for spirals based on the golden ratio.

The output can be run through conv_hull to create a polyhedron.

Up: Programs and Documentation
Next: sph_saff - spiral points on a sphere (Saff and Kuiljaars)

Antiprism Documentation 7.7.2007 - http://www.antiprism.com/