Skip to content

curvewalk.hilbert

curvewalk.hilbert

hilbert(index: int, shape: Tuple[int, ...]) -> Tuple[int, ...]

Returns a position in the hilbert curve, given an index and a shape to follow.