I understand the concept of a Moore curve in 2D:

However I find it a bit tough to conceptualize and generalize it to 3D or higher dimensions. Can someone kindly help me out by providing some resources and maybe a computer code to do so ?
Regards
Ujjwal
You can see some iterations here. I think that gives a general idea for conceptualization.
– grantfgates Jul 09 '13 at 06:59