
jm04js
jm04patch
The patch combine all my tests. It is the basic structure of “Speechfighter”.
The white points are audience’s position. Whenever they touch the good or bad words, it will draw a gray sphere and the text will disappear. If the text is not in the data, it will change the font size and still stay on the screen.
Video Demo:
[flashvideo filename="video/speechfighter01.flv" /]
Programming, Thesis Project
This step, I combined javascript, my data analyze patch and an extra jitter patch called “cv.jit.blobs.centroids” .
The extra patch is for getting data from live video to make my work really interact to the audience.
Below are the patch and script:
jm03js


Programming, Thesis Project
This is the new development. I combine text input patch to my javascript.
Whenever I type a new text it will show up on the screen.
The tricky part is writing a counter to separate texts to different element.
function settext(t)
{
jtext2ds[counter].text(t);
counter++;
}
Below are the patch and script:

jm03js
Special thanks to Peter! I had a create time discussing programming with you
Programming, Thesis Project
If you saw my crazy patch in the “Data to jit.gl.text2d 02″, you will agree why I want to use Javascript to coding multiple text fields.
Below are the patch and coding that I tried to create texts with javascript and MaxMSP:

jmfile
maoweitext01.js
Basically, I created jit.gl.text3d, the jitter object, inside of javascript and this time I also create a array of string.
var jtext3d = new JitterObject(”jit.gl.text3d”, “sfighter”);
.
.
var texts = ["Why", "does", "never", "work", "?", "how", "it", "because", "nothing", "is", "easy"];
then I get the data of people’s movement and sound for MaxMSP and sent to javascript to control the texts movement.
Here is the result:

Programming, Thesis Project
Ok, I arranged the patch to sub patch and create a gate for the different words.
Arranged Patch:

Whenever you type a text and press space key, it will switch the direction to the next object (p text).
Programming, Thesis Project
Recent Comments