diff -r 2bdf5d51d434 -r a7b0e40bcab0 front_idill/extern/fajran-tuiojs/examples/processingjs/tuio.processing.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/front_idill/extern/fajran-tuiojs/examples/processingjs/tuio.processing.js Fri Apr 06 18:32:13 2012 +0200 @@ -0,0 +1,95 @@ + +// add hooks +(function(){ +this.Processing.addTuioObject = undefined; +this.Processing.updateTuioObject = undefined; +this.Processing.removeTuioObject = undefined; +this.Processing.addTuioCursor = undefined; +this.Processing.updateTuioCursor = undefined; +this.Processing.removeTuioCursor = undefined; +})(); + +(function(){ + +var tuio = this.tuio; + +function wrapPath(d) { + var i, len = d.path.length; + var res = []; + for (i=0; i