Playing with colorful random boxes in PlayCanvas. I modified the entityCreator to include multiple materials.

https://developer.playcanvas.com/en/tutorials/programmatically-creating/