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:
case 'e':
evade = !evade;
case 'b':
bgclr = color(0, 0, 0);
case 'w':
bgclr = color(255, 255, 255);
case 'r':
case 'h':
big = !big;

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.


Alex Rosu 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.

Didi said...

poti incerca acum, zippuirea a avut loc.

Alex Rosu said...

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



Cine e porcaria asta?

My photo

Maker of Tools, Architect, Designer and Programmer. Finding and speculating new overlaps between the web, code and design challenges @ The Bartlett, UCL