Forums > MaxMSP

Boids Algorithms and lists

January 24, 2007 | 1:08 pm

I’m using the Boids algorithms objects by Eric Singer (from http://www.ericsinger.com/cyclopsmax.html), and I’m having trouble using the numbers that the objects produce. When they output the co-ordinates of the flocking objects, they come out in a list format, so when they’re sent to the Max Window via Print the arrive as

print: 12
print: 8
print: 12
print: 34

in the format X1, Y1, X2, Y2 and so on and so forth. What I’d really love is these numbers in the format that I could use with the unpack object or something, such as

print: 12 8 12 34

I’ve tried using spray and various other objects (listfunnel, funnel, zl and similar), but none of them really work.

Any help is appreciated, thanks.


January 24, 2007 | 1:54 pm

Ed Schroeder wrote:
> in the format X1, Y1, X2, Y2 and so on and so forth. What I’d really
> love is these numbers in the format that I could use with the unpack

You’re looking for zl.


January 24, 2007 | 1:57 pm

Ed Schroeder wrote:
> I’ve tried using spray and various other objects (listfunnel, funnel,
> zl and similar), but none of them really work.

Sorry, I replied too quickly. [zl group] should do it. What about it
doesn’t work?


January 24, 2007 | 1:57 pm

Ed Schroeder wrote:
> I’ve tried using spray and various other objects (listfunnel, funnel,
> zl and similar), but none of them really work.

Sorry, I replied too quickly. [zl group] should do the job. What about
it doesn’t work?


January 24, 2007 | 11:20 pm

have you ssen the more modern versions of boids andre sier and i made
a while back?
they’re set for 2D or 3D and output the coords in various list-formats.

http://www.maxobjects.com will help you find the most current builds of
boids2d, boids3d, jit.boids2d etc.

/*j

On 24 Jan 2007, at 14:57, dlurk wrote:

> Ed Schroeder wrote:
>> I’ve tried using spray and various other objects (listfunnel, funnel,
>> zl and similar), but none of them really work.
>
> Sorry, I replied too quickly. [zl group] should do it. What about
> it doesn’t work?
>


January 26, 2007 | 11:36 am

[zl group] works fine thank you very much, guess I must have missed it first time round, my bad.


Viewing 6 posts - 1 through 6 (of 6 total)