Let’s say I have a 2d matrix with 0’s and 1’s…
I wanna turn that into a 2d scene where the index of each 0 means that pixel is black and 1 means that pixel is white…
For example…
2d matrix[64][64]
This would create a scene with a square of 64 by 64, where each pixel color in that square is determined by the matrix’s value
How can I do something like this?
Thank you.