Array.nodeindex()

From ZCubes Wiki
Revision as of 21:53, 1 February 2020 by Joseph (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

These functions operate on array locations and values to create contours and other interesting operations.

Array Indices and XY Functions

Array.nodeindex()

Simply gives the indices of the node.

Same as Array.indices() but intended to get the nodeindex only.


MAGICSQUARE(3).nodeindex()

0 0
0 1
0 2
1 0
1 1
1 2
2 0
2 1
2 2