This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ddf.minim.*; | |
import ddf.minim.ugens.*; | |
Minim minim; | |
AudioOutput out; | |
String[] metamorphosis; | |
int counter = 1509; | |
String delimiters = " ,.?!;:[]"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hypermedia.video.*; | |
import java.awt.Rectangle; | |
OpenCV opencv; | |
PImage img; | |
void setup() { | |
size( 662, 500 ); | |
img = loadImage("hair.png"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.video.*; | |
Capture video; | |
boolean saveMe = false; | |
Triangle[] triangles = new Triangle[100]; | |
void setup() { | |
size(662, 480); | |
background(255); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.serial.*; | |
import processing.pdf.*; | |
Serial myPort; | |
boolean firstContact = false; | |
//shape arrays | |
SquareSpin[] square = new SquareSpin[5000]; | |
CircleSpin[] circle = new CircleSpin[5000]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import toxi.physics2d.*; | |
import toxi.physics2d.behaviors.*; | |
import toxi.geom.*; | |
VerletPhysics2D physics; | |
Chain chain, chain2, chain3; | |
void setup() { | |
size(662, 331); | |
smooth(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import toxi.geom.*; | |
import toxi.physics2d.*; | |
import toxi.physics2d.behaviors.*; | |
VerletPhysics2D physics; | |
ArrayList clusters; | |
boolean showPhysics = true; | |
boolean showParticles = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import toxi.geom.*; | |
import toxi.physics2d.*; | |
import toxi.physics2d.behaviors.*; | |
VerletPhysics2D physics; | |
ArrayList clusters; | |
boolean showPhysics = true; | |
boolean showParticles = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.serial.*; | |
import processing.pdf.*; | |
Serial myPort; | |
//handshake method for serial communication | |
boolean firstContact = false; | |
//shape arrays | |
SquareSpin[] square = new SquareSpin[5000]; | |
CircleSpin[] circle = new CircleSpin[5000]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SquareSpin[][] square = new SquareSpin[1000][1000]; | |
CircleSpin[][] circle = new CircleSpin[1000][1000]; | |
int distance = 60; | |
void setup() { | |
size(662, 662); | |
for (int a = 0; a <= width + distance; a = a + distance) { | |
for (int b = 0; b <= height + distance; b = b + distance) { | |
square[a/distance][b/distance] = new SquareSpin(a-320, b-320); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.serial.*; // import the Processing serial library | |
Serial myPort; // The serial port | |
int squareCount = 0; | |
int circleCount = 0; | |
SquareSpin[] square = new SquareSpin[300]; | |
CircleSpin[] circle = new CircleSpin[300]; | |
float xpos, ypos; |