Last active
March 19, 2018 07:34
-
-
Save RxET/31ec9bbd1a8d550e2893f6b4b498070b to your computer and use it in GitHub Desktop.
Three.js or There’s a hypercube in my timeline and I can’t get out
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
window.addEventListener('load', setUp, false); | |
function setUp() { | |
// scene, camera, and renderer | |
makeScene(); | |
// add a light | |
letThereBeLight(); | |
// and an object | |
createBox(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment