This file contains hidden or 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
<div class="beatles"></div> |
This file contains hidden or 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
// `File > Preferences > User Settings`(WINDOWS) | |
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontSize": 14, | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", | |
"editor.fontLigatures": true, | |
"editor.fontWeight": "normal", | |
"editor.tabSize": 2, | |
"workbench.editor.showIcons": true |
This file contains hidden or 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
System.config({ | |
transpiler: 'typescript', | |
typescriptOptions: { emitDecoratorMetadata: true }, | |
map: { | |
'rxjs': 'https://unpkg.com/[email protected]', | |
'@angular/core': 'https://unpkg.com/@angular/[email protected]', | |
'@angular/common': 'https://unpkg.com/@angular/[email protected]', | |
'@angular/compiler': 'https://unpkg.com/@angular/[email protected]', | |
'@angular/platform-browser': 'https://unpkg.com/@angular/[email protected]', | |
'@angular/platform-browser-dynamic': 'https://unpkg.com/@angular/[email protected]', |
This file contains hidden or 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
<body></body> | |
<script src="/three.js"></script> | |
<script> | |
// The "scene" is where stuff in our game will happen: | |
var scene = new THREE.Scene(); | |
var flat = {flatShading: true}; | |
var light = new THREE.AmbientLight('white', 0.8); | |
scene.add(light); | |
// The "camera" is what sees the stuff: |