Archive

Archive for July, 2008

Javascript with MaxMSP 04 (collision effect)

July 28th, 2008

jm0401

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

Javascript with MaxMSP 03 (life video interaction)

July 28th, 2008

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
jm0301

jm0302

Programming, Thesis Project

Javascript with MaxMSP 02 (separate texts)

July 28th, 2008

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:
Texts separate!!
jm03js

Special thanks to Peter! I had a create time discussing programming with you

Programming, Thesis Project

Javascript with MaxMSP 01

July 28th, 2008

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:
javascript and MaxMSP01
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:
javascript and MaxMSP02

Programming, Thesis Project

Data to jit.gl.text2d 02 (I am a neat person)

July 25th, 2008

Ok, I arranged the patch to sub patch and create a gate for the different words.
Arranged Patch:
I arranged
Whenever you type a text and press space key, it will switch the direction to the next object (p text).

Programming, Thesis Project