Hello ! I'm new with processing and especially with the library TuioZones. I'm trying for hours to put my loop of values (xvalues and yvalues) into int to be able after this to call them into my zones.setZone("zone1", ..., ..., ..., ...);
I would like to be able to use my circle of ellipses as a zone...
Can someone help ?
Heres my code :
import tuioZones.*;
TUIOzoneCollection zones;
PImage b;
int xspacing = 17;
int w;
float theta = 0;
float amplitude ;
float period = 1200;
float dx;
float[] yvalues;
float[] xvalues;
float x = theta;
void setup(){
size(displayWidth,displayHeight);
// create a draggable, throwable, and scalable zone for a photo