Skip to content

Instantly share code, notes, and snippets.

function setup() {
createCanvas(400, 400);
}
function draw() {
if (mouseIsPressed) {
fill(0);
} else {
fill(255);
}
@igoumeninja
igoumeninja / Algorithmic_Score.sc
Created November 6, 2014 09:34
Algorithmic Score
/*
This contains all the classe that Algorithmic Score is needed. Those cdlasse are
- Score_Definition
- Score_Definition_Implementation
- TimeServer (not working)
- Dests
- SC_Score
- RespTags
@igoumeninja
igoumeninja / sKeTch.pde
Created July 16, 2011 14:58
Simulation of connected elements with springs and dumpers
/**
sKeTch is audiovisual application
Aris Bezas Sat, 16 July 2011, 17:31
*/
import processing.opengl.*;
import oscP5.*;
import netP5.*;
boolean miden;
@igoumeninja
igoumeninja / typographyPortraits.pde
Created July 11, 2011 13:56
Create typography portraits from picture
/*
This program scans in a grayscale600x600 image, extracts the
pixel color data, and draws this data on a grid of ellipses.
from: http://visiblevisible.org/teaching/setpixel/students/joseph_l/
Scanning color data from pixels
edit by Aris Bezas Thu, 02 December 2010, 13:35
* 101208 add typography visualization
*/
@igoumeninja
igoumeninja / OSC_communication_example.pde
Created June 26, 2011 15:14
OSC communication example with Processing
/*
Template for OSC control
Aris Bezas Tue, 03 May 2011, 18:17
*/
import processing.opengl.*;
import oscP5.*;
import netP5.*;
OscP5 oscP5;
@igoumeninja
igoumeninja / openCVexample.pde
Created June 26, 2011 15:11
OpenCV example with Processing
import hypermedia.video.*;
import java.awt.*;
OpenCV opencv;
int w = 320;
int h = 240;
int threshold = 80;
boolean find=true;
PFont font;
@igoumeninja
igoumeninja / spira.pde
Created June 26, 2011 13:46
Draw Spira with Processing
/*
Spiral Class
Aris Bezas Mon, 13 December 2010, 20:09
Also in this sketch
* Run applet to a second monitor
from http://workshop.evolutionzone.com/2007/01/10/code-framesetundecoratedtrue/
check out screen arrangment and screen dimensions
processing forum not useful at: http://processing.org/discourse/yabb2/YaBB.pl?board=Syntax;action=display;num=1185318989
@igoumeninja
igoumeninja / ResourceLibSynthControl.scd
Created May 24, 2011 19:56
Routine and Function:sched based control of synths in the Resource library.

// IZ 110524

Routine and Function:sched based control of synths in the Resource library.

Using, "in order of appearance":

SynthResource:rsync (and: rsynca, rsyncs).

SynthResource:sched (and: scheda, scheds).

@igoumeninja
igoumeninja / OrgModeColumnView.txt
Created May 10, 2011 16:06
Org-mode column view export dynamic block
The following commands insert or update the dynamic block:
C-c C-x i (org-insert-columns-dblock)
Insert a dynamic block capturing a column view. You will be prompted for the scope or ID of the view.
C-c C-c or C-c C-x C-u (org-dblock-update)
Update dynamic block at point. The cursor needs to be in the #+BEGIN line of the dynamic block.
C-u C-c C-x C-u (org-update-all-dblocks)
Update all dynamic blocks (see Dynamic blocks). This is useful if you have several clock table blocks, column-capturing blocks or other dynamic blocks in a buffer.