Concept:

Algorithm defines a 3D matrix within a basic shape of a cube, then parametrize a random set of points while connecting these points based on a user defined maximum distance between any two points. This algorithm can be used in pattern generation with endless possibilities.

To customize this, one can define any set of points within 3D space, and use the algorithm to generate random connections based on values defined by user.