showing results for - "create three js scene"
Gwen
06 Oct 2019
1const scene = new THREE.Scene();
2const camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 );
3
4const renderer = new THREE.WebGLRenderer();
5renderer.setSize( window.innerWidth, window.innerHeight );
6document.body.appendChild( renderer.domElement );
Dara
05 Jan 2021
1let scene = new THREE.Scene();