Returns the colour node position. You need to use the node position function first.
Usage
np(rank = 3, satPercent = 0.5, seed = 1)
Arguments
rank
This is the rank of the maze.
satPercent
Percentage of saturation.
seed
To always get the same position for a local computer.
Value
A 'np' class which will be used for other functions in the package.
Details
This function will not sample from the first node position. If you consider sampling from the first node, then in javascript, the summing of the black dotes need to begin from 1 rather than 0. To keep it simple, always ensure that the first node is not sampled as a black dot.