Closed wbw20 closed 9 years ago
whoops... just saw this: https://github.com/unconed/MathBox.js/issues/28
take care
You can set the background by regular threejs means. This line works for me:
mathbox._world._renderer.setClearColorHex(0xEDD59A, 1);
You basically get the threejs renderer first and from then on it is a matter of standard threejs API calls. Just keep in mind that the underlying three version is somewhat ancient.
hey
great library. I was wondering how to set the background color of the canvas. I am a MathBox noob. Thanks
:green_heart: