Created
August 25, 2014 14:25
-
-
Save gero3/82cd2f9e18aa399fb37c to your computer and use it in GitHub Desktop.
the smallest three.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var renderer = new THREE.WebGLRenderer({canvas:canvas}); | |
var scene = new THREE.Scene(); | |
var camera = new THREE.PerspectiveCamera(); | |
scene.add(camera); | |
renderer.render(scene, camera); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment