3D Hilbert curve
Zuguang Gu (z.gu@dkfz.de)
2024-09-05
Source:vignettes/hilbert_3d.Rmd
hilbert_3d.Rmd
There are many forms of 3D Hilbert curve. Here we only implement one specific form of it.
pos = hilbert_3d(2)
library(rgl)
plot3d(pos, type = "l", lwd = 4, col = 2, ann = FALSE, axes = FALSE)