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
/** | |
* @author mr.doob / http://mrdoob.com/ | |
*/ | |
System = { | |
browser: ( function () { | |
if ( navigator.userAgent.match( /msie/i ) ) { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, user-scalable=yes, minimum-scale=1.0"> | |
<title>And your phone number is...</title> | |
<style> | |
body { | |
font: 17px sans-serif; | |
color: #444; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> body { margin: 0; } </style> | |
</head> | |
<body> | |
<canvas id="wobble"></canvas> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5/dat.gui.min.js"></script> | |
<script src="wobble.js"></script> | |
</body> |
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
// Big Bang - click to create the universe! | |
// by Paul Neave | |
// @neave | |
var TOTAL = 300; | |
var galaxies = []; | |
var Galaxy = function() { | |
this.x = 0; | |
this.y = 0; |