Skip to content

Instantly share code, notes, and snippets.

View sanderversluys's full-sized avatar

Sander Versluys sanderversluys

View GitHub Profile
@sanderversluys
sanderversluys / L-System2.html
Created February 20, 2012 14:19
L-System exploration 2
<!DOCTYPE html>
<html>
<head>
<script>
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Mˆller
@sanderversluys
sanderversluys / L-System.html
Created February 20, 2012 10:46
L-System exploration
<!DOCTYPE html>
<html>
<head>
<script>
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Mˆller
@sanderversluys
sanderversluys / FractalAnimation.html
Created February 17, 2012 14:05
FractalAnimation
<!DOCTYPE html>
<html>
<head>
<script>
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Mˆller
@sanderversluys
sanderversluys / EventsExample.js
Created February 6, 2012 10:40
Backbone.js Events
var object = {};
_.extend(object, Backbone.Events);
object.on("alert", function(msg) {
alert("Triggered " + msg);
});
object.trigger("alert", "an event");