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
https://vine.co/pxlwrx | |
https://vine.co/u/936947234963095552 | |
https://vine.co/Tragic.Tofu | |
https://vine.co/Le.Seb.Ettinger | |
https://vine.co/stonebizone | |
https://vine.co/u/909047515024867328 |
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
function inherit(from, to) { | |
function F() {} | |
F.prototype = from.prototype; | |
to.prototype = new F(); | |
} | |
var Animal = function() { | |
}; |
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', function() { | |
var section = document.querySelector('div.main'), | |
args = document.querySelector('div.arguments'), | |
controls = document.querySelector('.controls'), | |
image = args.querySelector('img'), | |
video = args.querySelector('video'), | |
log = $('log'), | |
useBloomX = true, | |
useBloomY = true, | |
useBlending = true; |
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('DOMContentLoaded', function() { | |
//check support | |
if (!supportsWebGL()) { | |
$('webgl-canvas').innerHTML = 'Your browser doesn\'t seem to support WebGL. More info <a href=\'http://get.webgl.org/\'>here</a>.'; | |
return; | |
} | |
//get context | |
var canvas = $('webgl-canvas'), | |
gl = getWebGLContext(canvas); |
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', function() { | |
var section = document.querySelector('div.main'), | |
args = document.querySelector('div.arguments'), | |
image = args.querySelector('img'), | |
video = args.querySelector('video'), | |
log = $('log'); | |
//check support | |
if (!supportsWebGL()) { | |
log.innerHTML = '<p class=\'error\'>Your browser doesn\'t seem to support WebGL. More info <a href=\'http://get.webgl.org/\'>here</a>.</p>'; |
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
Uncaught TypeError: Object [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] has no method 'on' |
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
1 l |
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
* (asdf-install:install 'cl-ppcre) | |
Install where? | |
1) System-wide install: | |
System in /usr/local/Cellar/sbcl/1.0.52/lib/sbcl/site-systems/ | |
Files in /usr/local/Cellar/sbcl/1.0.52/lib/sbcl/site/ | |
2) Personal installation: | |
System in /Users/philogb/.sbcl/systems/ | |
Files in /Users/philogb/.sbcl/site/ | |
--> 1 | |
Downloading 157665 bytes from http://weitz.de/files/cl-ppcre.tar.gz ... |
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
PhiloGL.unpack(); | |
function BrowserSize() { | |
return { | |
width: window.innerWidth || document.body.clientWidth, | |
height: window.innerHeight || document.body.clientHeight | |
}; | |
} | |
var browserSize; |
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
$(document).ready(function(){ | |
var N = 1000, r = 5; | |
PhiloGL.unpack(); | |
//Create cubes | |
var cubes = []; | |
for(var i=0; i<N; i++) { | |
var cube = new O3D.Cube({}); | |
cube.colors = false; |
NewerOlder