I'm working on using Three.js to create a 3D representation of a matrix. Each 2D plane in the matrix should be displayed as a 2D heatmap. Here is an example of what I'm aiming for:
https://i.sstatic.net/Kj5yb.png
My current obstacle is figuring out the most efficient way to visualize this in Three.js. I have tried drawing each cell of the heatmap individually as a square and coloring it. However, the performance starts to decrease significantly when working with very large matrices, for example, 100000 * 500 * 200.
While I am new to 3D programming and Three.js, I have looked into examples that suggest Three.js can handle large datasets using particle systems. I'm unsure of how to implement this effectively and some of the existing examples I found do not work with the latest version of Three.js.
Additional features I need to incorporate include the ability for users to zoom, rotate, and pan across the visualization.
A great reference I came across is . It showcases a lengthy data sequence visualized at the end of the song, allowing users to rotate the view to see the entire sequence.
To summarize, I am seeking advice on the best techniques within Three.js to visualize a heatmap representation of a matrix, especially when dealing with large datasets.
Thank you.