Skip to content

Instantly share code, notes, and snippets.

@billautomata
billautomata / README.md
Last active August 29, 2015 13:56 — forked from mbostock/.block

Bubble charts encode data in the area of circles. Although less perceptually-accurate than bar charts, they can pack hundreds of values into a small space. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.

Only in openFrameworks/apps/myApps/emptyExample: bin
Only in openFrameworks/apps/myApps/emptyExample: obj
Only in openFrameworks/examples/utils/conversionExample/bin: conversionExample
Only in openFrameworks/examples/utils/conversionExample/bin: conversionExample_debug
Only in openFrameworks/examples/utils/conversionExample/bin: libs
Only in openFrameworks/examples/utils/conversionExample/bin: readMe.txt
Only in openFrameworks/examples/utils/conversionExample: obj
Only in openFrameworks/examples/utils/fileOpenSaveDialogExample: obj
Only in openFrameworks/examples/utils/windowExample/bin: libs
Only in openFrameworks/examples/utils/windowExample/bin: readMe.txt
// Ported from Stefan Gustavson's java implementation
// http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
// Read Stefan's excellent paper for details on how this code works.
//
// Sean McCullough banksean@gmail.com
/**
* You can pass in a random number generator object if you like.
* It is assumed to have a random() method.
*/
var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
function base64_decode(input){
var output = new Array();
var chr1, chr2, chr3;
var enc1, enc2, enc3, enc4;
var i = 0;
var orig_input = input;
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
if (orig_input != input)
{
"name": "streamingtest",
"version": "0.0.1",
"engines": {
"node": ">=0.6.0"
},
"dependencies": {
"express": "2.5.x",
"coffee-script": "1.2.x"
},
{
"targets": [
{
"target_name": "keypress",
"conditions": [
['OS == "mac"', {
'include_dirs': [
'System/Library/Frameworks/CoreFoundation.Framework/Headers',
'System/Library/Frameworks/Carbon.Framework/Headers',
],
#!/bin/sh
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264
if [ "`/usr/bin/whoami`" != "root" ]; then
echo "You need to execute this script as root."
exit 1
fi
cat > /etc/yum.repos.d/centos.repo<<EOF
@billautomata
billautomata / iologo.svg
Last active January 30, 2021 07:48 — forked from fhinson/iologo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import bpy
from bpy_extras.view3d_utils import location_3d_to_region_2d as loc3d2d
import os
def write_svg(edge_list, region):
width, height = region.width, region.height