I have a grid of 8×8 values that I need to save. Each of these 64 positions will have 5 different numbers. I also want to easily change e.g. position x4/y3 with 5 new values.
Which object should use? Do you have any suggestions?
have a look at jit.cellblock
Jit.cellblock is really for two dimensional data. To manage an 8×8 matrix, each with five values, you would need a cellblock with 64 rows each with five columns – or five cellblocks. If you don’t really need to view (all) the data in tabular form, its probably easier to have an 8×8 jit.matrix of dimension 5 with the data type that will suit your intended values (probably type char if all your values are integers 0-255). It is also possible to read and write to a file for storage etc…
C74 RSS Feed | © Copyright Cycling '74