A Japanese blogger id:gongoZ [J] released “Muscle Programming Language/Framework: Tython” on May 14.
This Tython, released as an open source project, with Kinect enables you to program by body movements.
In short, you can program by boxing in front of Kinect. See a video demo here,
id:gongoZ could code to put out “Hello, World” only within 4 minutes. The source “code” of this “Hello, World” is,
left jab;left jab;left jab;left jab;right straight;right straight;right straight;
right straight;left jab;right uppercuts;left jab;left jab;left jab;left jab;
left jab;right straight;right straight;left jab;right straight;right straight;right uppercuts;
left jab;left jab;left jab;left jab;left jab;right straight;left jab;
left jab;right straight;right straight;right uppercuts;left jab;left jab;left jab;
left jab;left jab;left jab;right straight;right straight;left jab;right straight;
right uppercuts;left jab;left jab;left jab;left jab;left jab;right straight;
left jab;left jab;left jab;left jab;right uppercuts;left jab;left jab;
left jab;left jab;right straight;left jab;right straight;left jab;left jab;
left jab;right uppercuts;left jab;left jab;left jab;left jab;right straight;
right straight;right straight;right straight;right straight;right uppercuts;left jab;left jab;
left jab;left jab;right straight;left jab;left jab;right straight;right straight;
right uppercuts;left jab;left jab;left jab;left jab;left jab;right straight;
left jab;left jab;left jab;left jab;right uppercuts;left jab;left jab;
left jab;left jab;left jab;right straight;left jab;left jab;right straight;
right straight;right uppercuts;left jab;left jab;left jab;left jab;left jab;
right straight;left jab;left jab;right straight;right straight;right uppercuts;left jab;
left jab;left jab;left jab;left jab;right straight;right straight;left jab;
right straight;left jab;right uppercuts;left jab;left jab;left jab;left jab;
right straight;right straight;left jab;right straight;right straight;right straight;right uppercuts;
right straight;left hook; left jab;left jab;right straight;left hook;left jab;
left jab;right straight;left hook; left jab;left jab;right straight;left hook;
left jab;left jab;right straight;left hook;left jab;left jab;right straight;
left hook; left jab;left jab;right straight;left hook; left jab;left jab;
right straight;left hook; left jab;left jab;right straight;left hook; left jab;
left jab;right straight;left hook; left jab;left jab;right straight;left hook;
left jab;left jab;right straight;left hook; left jab;left jab;right straight;
left hook; left jab;left jab;
As the method does not support backspace input, he said it took 90 minutes to make this success version.
Here is the diagram to show how Tython detects your movement, converts to programs, compiles then executes.
How he managed to assign different blows to different input is explained copiously with diagrams and code.
With this Tython, programming is to have much more healthy aspects.
See Also:
Kinect Dragonball – Blast Your Kamehameha!
Kinect Driven “Ghost in the Shell” Cyberspace