Skip to content

Instantly share code, notes, and snippets.

@Davisonpro
Created January 28, 2019 20:03
Show Gist options
  • Save Davisonpro/f2c44c16fec9387d191cefc350f777f8 to your computer and use it in GitHub Desktop.
Save Davisonpro/f2c44c16fec9387d191cefc350f777f8 to your computer and use it in GitHub Desktop.
Scene
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 );
var renderer = new THREE.WebGLRenderer();
renderer.setSize( window.innerWidth, window.innerHeight );
document.body.appendChild( renderer.domElement );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment