Evri Blogger Widget

we are an infinite loop

Pacat ca ma grabesc. [Too bad I'm in a hurry.] A blog about computational design, generative art, geometry, math, architecture and the means employed to materialize these forms of expression. It's an ongoing chronicle of my personal research in this field and an information pool for curious minds. Without fancy words, it's a haha place for me. Not topic oriented, more or less it is flow oriented.

Mar 19, 2007

Boids Update


Thank you and you for inspiration. Check those links out to see how real masters are doing it :)

Now everything's smoother - esp. camera movement (the camera now aims towards the overall center of the flock).
The applet is here (does not work 100% since opengl in a browser isn't that common. it surely won't work if java 5 (1.5) is installed on your machine).
Applications are here (download the appropriate folder for your os).
Command list (ripped from the code):

void keyPressed() {
switch(key) {
case RETURN:
changeCenterAtRandomCode();
break;
case 'e':
evade = !evade;
didi.evade(evade);
break;
case 'b':
bgclr = color(0, 0, 0);
break;
case 'w':
bgclr = color(255, 255, 255);
break;
case 'r':
didi.lines();
break;
case 'h':
big = !big;
default:
break;
}

Later edit: zipped mac app here, inside the os folder. never thought of this.
Also, take care when using 'e' (evade key). press it twice.

3 comments:

Red said...

I can't download the mac app; you're better off zipping it first, as Apache doesn't seem to know how to handle it.

Unknown said...

poti incerca acum, zippuirea a avut loc.

Red said...

nice loading time on my old mac; boids look alright; keep up the good work.

Cine e porcaria asta?

Free Web Counter