Update '12/torusKnot.js'

master
ioanatomici 5 years ago
parent f0e5866c69
commit ff54552fbc

@ -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 );

Loading…
Cancel
Save