Skip to main content
Category

Blog Universidad

Paint Kinect Processing SimpleOpenni

By Blog Universidad, Nuevos Medios No Comments

import SimpleOpenNI.*;SimpleOpenNI  kinect;color currentColor; int diametro=20; void setup() {  kinect = new SimpleOpenNI(this);  kinect.enableDepth();  kinect.enableUser(SimpleOpenNI.SKEL_PROFILE_ALL);    kinect.setMirror(true);   size(1000,480);  //background(255);  color currentColor;  noStroke();  textFont(createFont(«Georgia», 24));fill(150);stroke(1);noStroke();fill(255,255,255,50);rect(0,0,500,480);fill(150);rect(0,0,50,480);fill(0,0,0,50);rect(50,0,450,40);// amarillofill(255,255,0);rect(10,100,40,40);// moradofill(255,0,255);rect(10,200,40,40);//rojofill(255,0,0);rect(10,300,40,40);//verde fill(0,255,0);rect(10,400,40,40);fill(255);//Menos  text(«Menos», 55, 30);//Mas …

Read More