np {mazeGen} | R Documentation |
Colour Node Position
Description
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. |
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.
Value
A 'np' class which will be used for other functions in the package.
Author(s)
Aiden Loe
See Also
Examples
np(rank=3,satPercent=0.5,seed=1)
[Package mazeGen version 0.1.3 Index]