Skip to contents

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)