Code hilbert3(n) represents the three dimensional hilbert curve.
Inspired by function [x,y] = hilbert(n) made by Federico Forte
So simple yet so beautiful. Perfect of example of the power of recursion.
I am very pleased, it's a honour for me to be the inspiration for this!