Skip to content

Instantly share code, notes, and snippets.

@tlevine
tlevine / fun.js
Created March 1, 2013 03:20 — forked from lfborjas/fun.js
//The fun solution: using array methods
var ary = [];
for(var i = 1; i <= 1000; i++){ ary.push(i); }
console.log(
ary.filter(function(item){
return (item % 3 == 0 || item % 5 == 0)
}).reduce(function(memo, current){
return memo + current
}, 0)
);
@tlevine
tlevine / index.js
Created August 1, 2013 18:45 — forked from max-mapper/index.js
requirebin sketch
/*
Data music ideas
https://data.baltimorecity.gov/Government/Minority-and-Women-s-Business-Enterprises-Certific/us2p-bijb?
https://data.illinois.gov/Environment/IEPA-Leaking-Underground-Storage-Tank-Incident/2kz4-t22j?
*/
var master = new (webkitAudioContext || AudioContext)
var jsynth = require('jsynth')
@tlevine
tlevine / README.md
Last active December 21, 2015 18:19 — forked from mbostock/.block
Map Zooming (Doin’ It Right)

For best viewing experience, please play “Doin’ It Right (feat. Panda Bear)” off the latest Daft Punk album while watching this animation.

<iframe width="560" height="315" src="//www.youtube.com/embed/RA5PRj7KPkE" frameborder="0" allowfullscreen></iframe>