powered by
Computes the Fibonacci lattice on the sphere \(\mathcal{S}^2\) to produce pseudo-equispaced points.
fib_latt(n)
A matrix of size c(n, 3) with the spherical coordinates.
c(n, 3)
number of points to be produced.
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 = "")
Run the code above in your browser using DataLab