Skip to content

Instantly share code, notes, and snippets.

@RxET
Last active March 19, 2018 07:34
Show Gist options
  • Save RxET/31ec9bbd1a8d550e2893f6b4b498070b to your computer and use it in GitHub Desktop.
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
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