Hello!
I've been asked to produce a print of this piece for an exhibition:
Unfortunately the image was made from a model that was only meant to be rendered, not printed.
| ### Keybase proof | |
| I hereby claim: | |
| * I am kylemcdonald on github. | |
| * I am kylemcdonald (https://keybase.io/kylemcdonald) on keybase. | |
| * I have a public key whose fingerprint is 50DA 00A9 1EB3 C84D 7A56 9FAD 3ACA C174 01F5 8612 | |
| To claim this, I am signing this object: |
| #include "ofMain.h" | |
| #include "ofxCv.h" | |
| class ofApp : public ofBaseApp { | |
| public: | |
| void setup() { | |
| bestDiff = 0; | |
| swaps = 64 * 64; | |
| n = 32; | |
| for(int y = 0; y < n; y++) { |
| float[] hann(float[] x) { | |
| int n = x.length; | |
| float[] result = new float[n]; | |
| for(int i = 0; i < n; i++) { | |
| float weight = .5 * (1 - cos((TWO_PI * i) / (n - 1))); | |
| result[i] = x[i] * weight; | |
| } | |
| return result; | |
| } |
| global targetDomain | |
| global folderName | |
| -- options | |
| set targetDomain to "dropcam.com" | |
| set folderName to (path to desktop as text) & "Dropcam" | |
| -- main code | |
| global recordingFile | |
| global newMovieRecording |
| #!/usr/bin/env python | |
| import json, urllib | |
| import os.path | |
| import subprocess | |
| import argparse | |
| from subprocess import call | |
| parser = argparse.ArgumentParser( | |
| description='Scrape a list of Spotify track IDs for JSON and preview URLs.') |
| MIME-Version: 1.0 | |
| Date: Tue, 2 Sep 2014 15:36:38 -0400 | |
| Subject: Re: Introducing ████████ | |
| From: Kyle McDonald <kyle@kylemcdonald.net> | |
| To: ███████ █████ <███████@█████████.com> | |
| Content-Type: text/plain; charset=UTF-8 | |
| Content-Transfer-Encoding: quoted-printable | |
| hi, |
Hello!
I've been asked to produce a print of this piece for an exhibition:
Unfortunately the image was made from a model that was only meant to be rendered, not printed.
| #!/usr/bin/python | |
| import time | |
| import BaseHTTPServer | |
| import cgi | |
| from pprint import pprint | |
| HOST_NAME = 'localhost' | |
| PORT_NUMBER = 9000 | |
| class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): |
| // group of for loops with waiting | |
| int m, n; | |
| dispatch_group_t group = dispatch_group_create(); | |
| dispatch_group_async(group, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH,0), ^{ | |
| // before all parallel m | |
| dispatch_apply(m, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^(size_t i) { | |
| // parallel m code with i for index | |
| }); | |
| // after all parallel m | |
| }); |