Sistemasemergentes PFC Blog


cv.jit installation guide Mac OS X

Posted in cv,max por sistemasemergentes en febrero 28, 2008

cv.jit installation guide Mac OS X

▶If a previous version of cv.jit is installed, make sure to delete all externals and help files before proceeding.

▶Move “cv.jit-support” folder inside “/Applications/MaxMSP 4.6/Cycling ’74” folder.

▶Move “cv.jit-help” folder inside “/Applications/MaxMSP 4.6/max-help” folder.

▶You can also move the file “cv.jit-Object Guide.mxb” to the “/Applications/MaxMSP 4.6/patches/extras” folder for quick access from the Max menu.

Comunicación processing->max y max->processing

Posted in max,processing por sistemasemergentes en febrero 28, 2008

De Processing a Max

***Lado Processing. Cliente1

// comunicación entre processing y maxmsp por tcp
// cliente en processing para un servidor en maxmsp

import processing.net.*;
Client miCliente;
int inc;

void setup() {
miCliente = new Client(this, “127.0.0.1”, 3020);
miCliente.write(“Hola r”);
}

void mouseReleased() {
inc++;
//cada vez que se pulsa el botón con el puntero sobre la pantalla
//se manda la frase a través del puerto 3020
miCliente.write(“clic numero ” + inc + “r”);
}

void draw() {
}

******************************

***Lado Processing. Cliente2

// comunicación entre processing y maxmsp por tcp
// cliente en processing para un servidor en maxmsp

import processing.net.*;
Client miCliente;
int inc;

void setup() {
miCliente = new Client(this, “127.0.0.1”, 3020);
miCliente.write(“holar”);
}

void draw() {
if (mousePressed) {
inc++;
//incrementa el valor de inc y lo manda a max cada vez que se pulsa
//el botón con el puntero sobre la ventana
miCliente.write(” ” + inc + “r “);
}
}

*********************************

De Max a Processing

// comunicación maxmsp con processing por tcp
// servidor en processing para un cliente en maxmsp

import processing.net.*;

PFont tipo;
String frase;
int port = 3021;
Server miServidor;

void setup()
{
size(400, 100);
background(0);
tipo = loadFont(“CourierNew36.vlw”) ;
textFont(tipo, 12);
miServidor = new Server(this, port);
}

void draw()
{
Client unCliente = miServidor.available();
if (unCliente !=null) {
String queMeDice = unCliente.readString();
if (queMeDice != null) {
background(0);
frase = unCliente.ip() + ” dice que ” + queMeDice;
text(frase, 15, 50);
}
}
}

*********************************

***Lado Max para Comunicación de Processing a Max y de Max a Processing

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 18 49 150 196617 toro sentado se sento $1 veces;
#P user textedit 18 112 212 131 32896 3 9 toro sentado se sento 189 veces;
#P user textedit 158 184 294 202 32896 3 9;
#P newex 18 90 62 196617 prepend set;
#P newex 158 163 62 196617 prepend set;
#P user textedit 19 184 155 202 32896 3 9 134;
#P newex 19 163 62 196617 prepend set;
#P newex 19 142 149 196617 mxj net.tcp.recv @port 3020;
#P number 18 29 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 18 69 236 196617 mxj net.tcp.send @address 127.0.0.1 @port 3021;
#P connect 1 0 9 0;
#P connect 9 0 0 0;
#P connect 0 0 6 0;
#P connect 6 0 8 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 2 1 5 0;
#P connect 5 0 7 0;
#P window clipboard copycount 10;

******************************

videos de processing en vimeo

Posted in General por sistemasemergentes en febrero 17, 2008

links interesantes processing

Posted in referentes por sistemasemergentes en febrero 17, 2008

[1] Ben Fry  : http://benfry.com/

[2] Casey Reas : http://reas.com/

[3] Aesthetic + computation group : http://acg.media.mit.edu/

[4] Wikipedia page about the MIT media lab : http://en.wikipedia.org/wiki/MIT_Media_Lab

[5] Design by Number (DBN) web site : http://dbn.media.mit.edu/

[6] John Maeda : http://plw.media.mit.edu/people/maeda/

[7] Processing Beta release announcement by Casey Reas http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Collaboration;a…

[8] Processing official web site : http://processing.org/

[9] Processing forum : http://processing.org/discourse/yabb_beta/YaBB.cgi

[10] people behind processing : http://processing.org/people.html

[11] We feel fine, artistic approach to data visualisation onilne : http://www.wefeelfine.org

[12] Flight pattern by Aaron Koblin http://users.design.ucla.edu/~akoblin/work/faa/

[13] Complexification.net, Jared Tarbell’s online gallery : http://complexification.net/

[14] Evolution zone, marius Watz’s portfolio http://evolutionzone.com/

[15] Karsten Schmidt’s (aka toxi) blog : http://www.toxi.co.uk/blog/

[16] Lovebyte generative identiy by Karsten Shmidt and universal everything

http://www.toxi.co.uk/blog/2007_04_01_archive.htm

[17] Nike one video by motion theory : http://www.motiontheory.com:16080/nikegolf/

[18] Magnetosphere iTune audio visualiser http://software.barbariangroup.com/magnetosphere/

[19] Flight 404, Robert Hodgin blog http://www.flight404.com/blog/

[20] Sonic wire Sculptor by Amit Pitaru : http://www.pitaru.com/sonicWireSculptor/framed/

[21] Philip Worthington’s Shadow Monster project :   http://www.worthersoriginal.com/viki/#page=shadowmonsters

[22] Processing download page http://processing.org/downlad

[23] IDE Wikipedia page : http://en.wikipedia.org/wiki/Integrated_development_environment

[24] setup reference page : http://processing.org/reference/setup_.html

[25] background reference page : http://processing.org/reference/background_.html

[26] draw reference page : http://processing.org/reference/draw_.html

[27] Cartesian coordinate system Wikipedia page : http://en.wikipedia.org/wiki/Cartesian_coordinate_system

[28] processing online reference : http://processing.org/reference/index.html

[29] processing online extended reference : http://processing.org/reference/index_ext.html

[30] class reference page : http://processing.org/reference/class.html

[31] Java comparison page : http://processing.org/reference/compare/java.html

[32] jikes web site

[33] Java.com

[34] Eclipse development platform : http://www.eclipse.org/

[35] Processing development web site : http://dev.processing.org/

[36] MaxLink library : http://jklabs.net/maxlink/

[37] JMyron library : http://webcamxtra.sourceforge.net/

[38] Processing libraries page http://processing.org/reference/libraries/index.html

[39] Hardware page (Arduino and Wiring) : http://hardware.processing.org/

[40] Processing mobile web site : http://mobile.processing.org/

[41] Wiring : http://www.wiring.org.co/

[42] Arduino : http://www.arduino.cc/

[45] Processing hacks : http://www.processinghacks.com/

[46] Stellar snippet palace : http://snippet.seltar.org/

[47] Daniel Shiftman nature of code http://www.shiffman.net/teaching/nature/

[48] Processingblogs : http://www.processingblogs.org/

[49] processing flickr pool : http://www.flickr.com/groups/processing/

[50] build with processing : http://builtwithprocessing.org/

[51] youtube processing group : http://youtube.com/group/processing

[52] Vimeo video tagged with processing : http://www.vimeo.com/tag:processing

[53] Processing related books : http://processing.org/learning/books/

[54] Toxi’s rant :  http://www.toxi.co.uk/blog/2006/01/note-this-article-is-using.htm

[55] Answer to toxi’s comments: http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Collaboration;a…

[56] Procedural programming Wikipedia page : http://en.wikipedia.org/wiki/Procedural_code

Images

[1] Jared Tarbell
Bubble chamber CC Attribution 2.0 Generic (http://creativecommons.org/licenses/by/2.0/deed.en_GB):
http://flickr.com/photos/generated/15448/

[2] Marius Watz
Object #1 (Attribution-Non-Commercial-Share Alike 2.0 Generic)
http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en_GB
http://flickr.com/photos/watz/336839822/

[3] Av 06 – Sage Gateshead – Illuminations 01 (Attribution-Non-Commercial-Share Alike 2.0 Generic)
http://creativecommons.org/licenses/by-nc-sa/2.0/deed.en_GB
http://flickr.com/photos/watz/108738341/

[4] Karsten Schmidt
voxscape3 (Attribution-Non-Commercial-No Derivative Works 2.0 Generic)
http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en_GB
http://flickr.com/photos/toxi/157372173/in/set-72157594145899116/

[5] We Feel Fine logo, image courtesy of Sep Kamvar
http://www.wefeelfine.org/
We Feel Fine copyright, All right reserved

Boids

Posted in codigo,referentes por sistemasemergentes en febrero 17, 2008

http://www.red3d.com/cwr/boids/

In 1986 I made a computer model of coordinated animal motion such as bird flocks and fish schools. It was based on three dimensional computational geometry of the sort normally used in computer animation or computer aided design. I called the generic simulated flocking creatures boids. The basic flocking model consists of three simple steering behaviors which describe how an individual boid maneuvers based on the positions and velocities its nearby flockmates:

separation diagram   Separation: steer to avoid crowding local flockmates
alignment diagram   Alignment: steer towards the average heading of local flockmates
cohesion diagram   Cohesion: steer to move toward the average position of local flockmates