Skip to content

Instantly share code, notes, and snippets.

@zarazum
zarazum / README.md
Created October 4, 2012 11:42 — forked from mbostock/.block
D3.js attempt #00

Just trying

@zarazum
zarazum / README.md
Created October 4, 2012 13:17 — forked from mbostock/.block
mythac #00

Move mouse pointer over the doodles.

Image source: me.

@zarazum
zarazum / README.md
Created December 17, 2012 19:10 — forked from mbostock/.block

This is not a true Demers cartogram; it lacks links between adjacent features. Instead of trying to preserve connectedness, this pseudo-cartogram tries to preserve locality, putting each square as close as possible to its origin without overlapping.

@zarazum
zarazum / _.md
Created January 9, 2013 15:25
An inlet to Tributary
@zarazum
zarazum / unrle.py
Created October 1, 2013 05:14
unrle
import re
rle='''43b3o3b3o$42bo2bo3bo2bo$23b4o18bo3bo18b4o$23bo3bo17bo3bo17bo3bo$23bo8b
o12bo3bo12bo8bo$24bo2bo2b2o2bo25bo2b2o2bo2bo$29bo5bo7b3o3b3o7bo5bo$29b
o5bo8bo5bo8bo5bo$29bo5bo8b7o8bo5bo$24bo2bo2b2o2bo2b2o4bo7bo4b2o2bo2b2o
2bo2bo$23bo8bo3b2o4b11o4b2o3bo8bo$23bo3bo9b2o17b2o9bo3bo$23b4o11b19o
11b4o$39bobo11bobo$42b11o$42bo9bo$43b9o$47bo$43b3o3b3o$45bo3bo2$44b3ob
3o$44b3ob3o$43bob2ob2obo$43b3o3b3o$44bo5bo35$3o$2bo$bo!'''
rle='''2$7bo$7bo$7bo$7bo$7bo$6bo5b6o$b11o6bo$6bo$6bo$6bo$6bo$6bo$6bo$6bo!
'''
@zarazum
zarazum / grabSound.py
Last active December 25, 2015 21:29 — forked from quave/grabSound.py
import pyaudio
import wave
import sys
import pyglet
CHUNK = 1024
FORMAT = pyaudio.paInt16
CHANNELS = 2
RATE = 44100
@zarazum
zarazum / README.md
Last active December 27, 2015 14:49 — forked from mbostock/.block
@zarazum
zarazum / index.html
Last active January 1, 2016 07:49
Sketching Tripno
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="creator" content="Procoding" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" id="viewport" content="width=device-width initial-scale=1 maximum-scale=1 user-scalable=no" />
<title>aa-ekoan.pro</title> <!-- displayName -->
@zarazum
zarazum / Procoding.js
Last active January 2, 2016 16:39
aekoanvas
/********************************************************************************
Procoding.js
Copyright (c) 2013 by Michael Markert
http://procoding.audiocommander.de
version 0.3
built June 2013
*****************************************/
@zarazum
zarazum / subdivtri.py
Created September 1, 2014 10:18
subdivtri.py
from scene import *
from random import random
from math import sin, cos, pi
class zScene (Scene):
def setup(self):
# This will be called before the first frame is drawn.
# Set up the root layer and one other layer:
self.root_layer = Layer(self.bounds)