react three js make canvas background black code example
Example: three.js renderer background color
var scene = new THREE.Scene(); // initialising the scene
scene.background = new THREE.Color( 0xff0000 );
var scene = new THREE.Scene(); // initialising the scene
scene.background = new THREE.Color( 0xff0000 );