var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera(75,winSize.width/winSize.height,0.1,1000); var renderer = new THREE.WebGLRenderer(); renderer.setSize(winSize.width,winSize.height); document.body.appendChild(renderer.domElement