This function samples n points from the surface or the 3D torus uniformly. This function is tentative. There is no guarantee that points are sampled unifomly.
1 | x3Dtorus_unif(n, r, R1, R2)
|
n |
the number of points in the sample. |
r |
the smallest radius of 3D torus. |
R1 |
the largest radius of 3D torus. |
R2 |
the medim radius of 3D torus. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.