Skip to content

Instantly share code, notes, and snippets.

@webbushka
webbushka / index.js
Created February 19, 2019 22:52
Avatar: Keyboard Controls
<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:
@webbushka
webbushka / system-config.js
Created June 14, 2017 21:11
Example of SystemJS + Angular
System.config({
transpiler: 'typescript',
typescriptOptions: { emitDecoratorMetadata: true },
map: {
'rxjs': 'https://unpkg.com/rxjs@5.0.0-beta.12',
'@angular/core': 'https://unpkg.com/@angular/core@2.0.0',
'@angular/common': 'https://unpkg.com/@angular/common@2.0.0',
'@angular/compiler': 'https://unpkg.com/@angular/compiler@2.0.0',
'@angular/platform-browser': 'https://unpkg.com/@angular/platform-browser@2.0.0',
'@angular/platform-browser-dynamic': 'https://unpkg.com/@angular/platform-browser-dynamic@2.0.0',
@webbushka
webbushka / settings.json
Last active March 13, 2021 00:26 — forked from jmahc/settings.json
VS Code Solution for Fira Code and Flottflott - based on the Medium article: https://medium.com/@docodemore/an-alternative-to-operator-mono-font-6e5d040e1c7e#.jq6tb618c
// `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
@webbushka
webbushka / index.html
Created October 14, 2012 15:32
Beatles crossing Abbey Road using box-shadows and css animation. I originally used LessCss to do this but it was crashing codepen so I compiled it with codekit so that it would work here. Source Gif - http://kitanai-neko.deviantart.com/art/Pixel-Beatles
<div class="beatles"></div>