n-torus (npm): n-dimensional torus data structure.
Keywords: torus|datastructure