[][] ,What does that symbol mean?

if (m[x/sTile][y/sTile] == 0) fill(c0);

in the code above,[][] means m[]*m[] ?

1 Like

Processing.org/reference/arrayaccess.html
Processing.org/examples/array2d.html

1 Like

Thanks for your reply! i solved my problem.
And i find this https://processing.org/tutorials/2darray/ is better to understand the problem relates to 2D array.

2 Likes