diff --git a/12/torusKnot.js b/12/torusKnot.js index 6122fcf..08b5aeb 100644 --- a/12/torusKnot.js +++ b/12/torusKnot.js @@ -1,6 +1,6 @@ var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera( 75, window.innerWidth/window.innerHeight, 0.1, 100 ); - +var canvas = document.getElementById('torusKnot'); var renderer = new THREE.WebGLRenderer(); renderer.setSize( window.innerWidth/2, window.innerHeight/2 ); document.body.appendChild( renderer.domElement );