Skip to content

Instantly share code, notes, and snippets.

@joates
joates / index.js
Last active August 29, 2015 13:55
this started with me figuring out a sensible way to call the webgl init() method asynchronously, and then i thought i'd add some nervy boxes in a ring pattern (demo here -> http://joat.es/webgl/twitchy-ringer/)
var webgl = require('./webgl')
, boxes = 32
webgl.init(boxes, function(err, data) {
if (err) console.error('init failed')
console.log('ready', data)
})
@max-mapper
max-mapper / head.html
Last active December 19, 2015 10:39
requirebin sketch
<style type='text/css'> html, body { margin: 0; padding: 0; border: 0; } </style>