Space filling curves have some super important applications for indexing and information retrieval. I recently stumbled on an fascinating library called Uzaygezen for multidimensional Hilbert space filling curves. Extremely high quality code and documentation:
https://github.com/aioaneid/uzaygezen
https://opensource.googleblog.com/2008/08/uzaygezen-multi-di...