My goal is to display multiple boxes together in a specific structure shown in the image I have attached. I am interested in testing the GPU limitations by increasing the number of boxes, and then later on, I will focus on optimization. The framework I am using for this project is THREE.js, which is based on JavaScript. I am considering implementing this task with a three-dimensional array as I believe it would be the most efficient approach. However, I am unsure how to achieve this in JavaScript.
[Box group1