This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shadow; | |
var user; | |
var shoe; | |
var a1; | |
var b1; | |
var angle; | |
var v1; | |
var v2; | |
var q; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char val; // Data received from the serial port | |
int ledPin = 13; // Set the pin to digital I/O 13 | |
#include <Servo.h> | |
Servo servo1; | |
void setup() { | |
pinMode(ledPin, OUTPUT); // Set pin as OUTPUT | |
Serial.begin(9600); // Start serial communication at 9600 bps | |
servo1.attach(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openkinect.processing.*; | |
import processing.serial.*; | |
// Kinect Library object | |
Kinect kinect; | |
PImage img; | |
float minThresh = 900; | |
float maxThresh = 940; | |
float mf; | |
float sumX = 0; | |
float sumY = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PImage shadow; | |
PImage user; | |
PImage shoe; | |
PVector a = new PVector(150, 0); | |
PVector b = new PVector(0, 150); | |
float angle; | |
PVector v1; | |
PVector v2; | |
float q; | |
float len; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var shadow; | |
var user; | |
var shoe; | |
var a1; | |
var b1; | |
var angle; | |
var v1; | |
var v2; | |
var q; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char val; // Data received from the serial port | |
int ledPin = 13; // Set the pin to digital I/O 13 | |
//int servoVal = 0; | |
#include <Servo.h> | |
Servo servo1; | |
void setup() { | |
pinMode(ledPin, OUTPUT); // Set pin as OUTPUT | |
Serial.begin(9600); // Start serial communication at 9600 bps | |
servo1.attach(9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PImage shadow; | |
import org.openkinect.freenect.*; | |
import org.openkinect.processing.*; | |
import processing.serial.*; | |
PVector a = new PVector(150, 0); | |
PVector b = new PVector(0, 150); | |
float angle; | |
PVector v1; | |
PVector v2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PImage shadow; | |
import processing.serial.*; | |
PVector a = new PVector(150, 0); | |
PVector b = new PVector(0, 150); | |
float angle; | |
PVector v1; | |
PVector v2; | |
float q; | |
float len; | |
float root; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openkinect.freenect.*; | |
import org.openkinect.processing.*; | |
// Kinect Library object | |
Kinect kinect; | |
PImage img; | |
float minThresh = 200; | |
float maxThresh = 600; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openkinect.processing.*; //<>// | |
// Kinect Library object | |
Kinect kinect; | |
PImage img; | |
float minThresh = 200; | |
float maxThresh = 600; | |
float sumX = 0; | |
float sumY = 0; |
NewerOlder