Hilbert transforms between 1D and 2D space, optimized for u16 coordinates.
use hilbert16::{Curve, Point};
let order = 9;
let curve = Curve::new(order).unwrap();
let p = Point { x: 175, y: 295 };
let d = curve.dist_at(p).unwrap();
println!("{p:?} => {d}");
let d = 94_085;
let p = curve.point_at(d).unwrap();
println!("{d} => {p:?}");