processing.org stuff
  • Processing 99.9%
Find a file
2015-03-29 18:26:53 +02:00
Global destructive 2015-03-27 23:45:07 +01:00
IRunnable make.bat ;-) 2015-03-27 20:57:45 +01:00
Util added sinwav 2015-03-26 21:32:12 +01:00
img.jpg dus 2015-03-28 16:06:21 +01:00
ipoop.pde destructive 2015-03-27 23:45:07 +01:00
make.bat make.bat 2015-03-27 21:03:45 +01:00
README.md Update README.md 2015-03-28 16:22:59 +01:00

ipoop

processing.org stuff

HOWTO

place IRunnable in the folder next to your sketch, and add something like this:

--

PImage img;
void setup() { 
		  img = loadImage("img.jpg");
		  IRunnableEffect fx = new Slicer();
		  img = fx.run(img,random(30),random(80));
		  size(img.width,img.height);
		  noLoop();
}
void draw() { 
		  if ( img != null ) image(img,0,0);
}


interface IRunnableEffect { 	PImage run(PImage img,float x, float y); }