torus {geozoo} | R Documentation |
A function to generate a torus in any dimension
torus(p = 3, n = 10000, radius = 2^((p - 2):0))
p |
dimension of object |
n |
number of points |
radius |
radiuses of the torus, set from largest to smallest |
points |
location of points |
edges |
edges of the object (null) |
Barret Schloerke
http://schloerke.github.io/geozoo/mobius/torus/
## Generates a torus
torus(p = 3, n = 1000)