Do the points have an orientation? Some things sound different depending on the direction they're facing.
Each boid has a velocity in 2 or 3 dimensions, so yes. I just compiled the 2d version on WinXP, compiler complained about the line endings being Macintosh. I reformatted the file according to the pd guidlines using Unix line endings and spaces for tabs and c-style comments. I could commit my changes if nobody complains...I don't see in the source code that the messages aren't working. It may be the way they are implemented in the help file, they seem to be prefixed with semicolons there?
Martin
On Fri, 30 Mar 2007 10:19:25 -0400 marius schebella marius.schebella@gmail.com wrote:
short answer: you send position messages of an attraction point in space and then your boids object prints out positions of x flocks everytime you bang it. the positions are affected by the attraction point and neighboring flocks. (there is a bunch of settings for all that) marius.
padawan12 wrote:
I'm interested in these. How do they work?
On Fri, 30 Mar 2007 02:00:52 -0400 marius schebella marius.schebella@gmail.com wrote:
hi, accidentally I found two objects (boids2d and boids3d) which could be very nice tools, if only they were working. I have no idea who ported them to pd, but message input seems to be broken. Is someone working on them? (the objects simulate animal/birds and could be useful for grain synthesis or multi voice synthesis stuff) marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
martin.peach@sympatico.ca wrote:
I just compiled the 2d version on WinXP, compiler complained about the line endings being Macintosh. I reformatted the file according to the pd guidlines using Unix line endings and spaces for tabs and c-style comments. I could commit my changes if nobody complains...I don't see in the source code that the messages aren't working. It may be the way they are implemented in the help file, they seem to be prefixed with semicolons there?
I suppose the code was taken from a max object. the problem I saw was, that when you send a message like maxspeed 10 and then dumped the current values, it showed up as maxspeed 1.#inf. so that's what I meant with messages get screwed somehow. and I thought that could be a float/int conversion/not conversion problem... marius.