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
THREE.WebGLRenderer = (parameters) -> | |
_canvas = document.createElement 'canvas' | |
_gl = null | |
_oldProgram = null | |
_oldFramebuffer = null | |
_this = this | |
# gl state cache | |
_oldDoubleSided = null |
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
6: src/Three.js | |
8: src/materials/MeshFaceMaterial.js | |
11: examples/js/Stats.js | |
11: src/renderers/renderables/RenderableObject.js | |
12: src/materials/ParticleDOMMaterial.js | |
12: examples/js/PRNG.js | |
12: src/scenes/FogExp2.js | |
13: examples/js/Tween.js | |
13: src/scenes/Fog.js | |
13: src/lights/AmbientLight.js |
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
isabel:webclient pyrotechnick$ npm install dnode | |
[email protected] ../node_modules/dnode/node_modules/dnode-protocol | |
[email protected] ../node_modules/dnode/node_modules/lazy | |
[email protected] ../node_modules/dnode/node_modules/traverse | |
[email protected] ../node_modules/dnode/node_modules/socket.io | |
[email protected] ../node_modules/dnode/node_modules/browserify/node_modules/es5-shim | |
[email protected] ../node_modules/dnode/node_modules/browserify/node_modules/hashish | |
[email protected] ../node_modules/dnode/node_modules/browserify/node_modules/source | |
[email protected] ../node_modules/dnode/node_modules/browserify/node_modules/coffee-script | |
[email protected] ../node_modules/dnode/node_modules/browserify/node_modules/findit/node_modules/seq/node_modules/chainsaw |
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
isabel:webclient pyrotechnick$ npm install dnode | |
[email protected] ./node_modules/dnode/node_modules/dnode-protocol | |
[email protected] ./node_modules/dnode/node_modules/lazy | |
[email protected] ./node_modules/dnode/node_modules/traverse | |
[email protected] ./node_modules/dnode/node_modules/socket.io | |
[email protected] ./node_modules/dnode | |
isabel:webclient pyrotechnick$ coffee server.coffee | |
Error: Cannot find module 'dnode' | |
at Function._resolveFilename (module.js:320:11) | |
at Function._load (module.js:266:25) |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
classmethod = (class_, methods) -> | |
for own name, method of methods | |
class_[name] = method | |
class_::[name] = (args...) -> | |
method.apply @constructor, args | |
class Atom |
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
module.exports = id = new Object | |
class id.Greek | |
_index: 0 | |
next: => id.Greek.map.lower[(Object.keys id.Greek.map.lower)[@_index++]] | |
reset: => _index = 0 | |
greek = new id.Greek | |
id.greek = greek.next |
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
scraper = require 'scraper' | |
async = require 'async' | |
index = 'http://en.wikipedia.org/wiki/Periodic_table' | |
console.log "-scrape #{index}" | |
scraper index, (error, jQuery) -> | |
console.log error if error | |
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
<table class="wikitable" style="font-size: 85%; text-align: center; width: auto;"> | |
<caption>Comparison of iOS screens, assuming portrait orientation</caption> | |
<tbody><tr> | |
<th style="width:12em;" colspan="2">Display</th> | |
<th>Classic</th> | |
<th>Retina</th> | |
<th>iPad</th> | |
</tr> | |
<tr> | |
<th colspan="2">Models</th> |
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
window.requestAnimationFrame ?= | |
window.mozRequestAnimationFrame or | |
window.msRequestAnimationFrame or | |
window.oRequestAnimationFrame or | |
window.webkitRequestAnimationFrame or | |
(callback) -> window.setTimeout callback, 1000 / 60 |