26. October 2013
Generating the vertices and edges of an n-cube in javascript
An n-cube is a geometric shape analogous to a cube, but in an arbitrary number of dimensions.
The algorithm I’ve laid out does a recursive routine for finding the vertices and then looks for all edges within one unit of each to define the edges.