/* * Scene Processing Library 3.0 * by Laurence Bender (c) 2011-2016 * * SceneBlob graphic client example. * Draws the center of mass and bounding box of received SceneBlobs. * */ import TUIO.*; import scene.tuio.*; Scene sceneClient; PFont font; void setup() { size(640,480); font = loadFont("ArialMT-14.vlw"); textFont(font,14); rectMode(CENTER); sceneClient = new Scene(this); frameRate(30); } void draw() { background(0); ArrayList sceneBlobList = sceneClient.getSceneBlobList(); for (int i=0;i