| fib_latt | R Documentation |
Computes the Fibonacci lattice on the sphere \mathcal{S}^2
to produce pseudo-equispaced points.
fib_latt(n)
n |
number of points to be produced. |
A matrix of size c(n, 3) with the spherical coordinates.
scatterplot3d::scatterplot3d(
fib_latt(n = 200), pch = 19, color = viridis::viridis(200),
xlim = c(-1, 1), ylim = c(-1, 1), zlim = c(-1, 1),
xlab = "", ylab = "", zlab = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.