Skip to content

Instantly share code, notes, and snippets.

[{"name":"the united states",
"id":1,
"size":"big",
"known":90,
"churches":[
{"name":"me","percent":29.65},
{"name":"bap","percent":21.03},
{"name":"pres","percent":12.41},
{"name":"cat","percent":10.0},
{"name":"con","percent":5.17},
@vlandham
vlandham / vis.coffee
Created April 12, 2013 14:08
attempt to grow and shrink bubbles on mouse over not a very good solution - but it works
root = exports ? this
Bubbles = () ->
# standard variables accessible to
# the rest of the functions inside Bubbles
width = 900
height = 510
data = []
node = null
@vlandham
vlandham / README.md
Last active September 25, 2017 01:43
regl dots basic
@vlandham
vlandham / parse_interviews.rb
Created October 2, 2011 20:03
parse usesthis.com
#!/usr/bin/env ruby
require 'yaml'
require 'json'
input_dirname = ARGV[0]
output_filename = "parsed_interviews.json"
class Categorizer
HW_CATEGORIES = [[/.*dell.*/, ["pc","system"]],
@vlandham
vlandham / README.md
Last active May 27, 2017 22:55
regl triangle moving and using props
@vlandham
vlandham / README.md
Last active May 27, 2017 22:54
regl triangle moving in a loop
@vlandham
vlandham / README.md
Last active May 27, 2017 22:54
regl triangle in a loop
@vlandham
vlandham / README.md
Last active May 27, 2017 22:54
basic regl triangle
@vlandham
vlandham / README.md
Last active May 27, 2017 22:53
regl dots streaming
@vlandham
vlandham / gifmaker.sh
Created April 14, 2017 20:12
gifmaker.sh
#!/bin/sh
start_time=0:00.2
#duration=4.5
palette="/tmp/palette.png"
unoptimized="/tmp/unoptimized.gif"
filters="fps=24,scale=400:-1:flags=lanczos"