Antiprism Up Next
Home
Programs
Examples
Album
Download
Project
Forum
About

sph_rings - rings of points on a sphere

Usage    |    Examples    |    Notes

Usage

Synopsis

sph_rings [options] num_rings num_divs

Description

Distribute points on rings a sphere.

Options

num_rings
The number of rings between the poles that points will be placed on

num_divs
The number of points on each ring, or if not given then it is as many points as will fit in each ring at least a bands width apart.

-h
program help

-s
stagger placement of balls between rings

-x
don't 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

A globe
   sph_rings 12 24 | conv_hull | antiview
Stagger the rings on the globe
   sph_rings -s 12 24 | conv_hull | antiview
As many points as will fit on the 12 rings
   sph_rings 12 | antiview -v b

Notes

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


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


Home   |   Programs   |   Examples   |   Album   |   Download   |   Project   |   Forum   |   About

Contact: adrian@antiprism.com      -      Modified 21.11.2007