Hi, There is a typo in the Boids library documentation on this page http://nodebox.net/code/index.php/Boids. Under 'creating a flock' there is the line… flock.update(shuffled=True, separation-10, alignment=5, cohension=100, goal=20, limit=30) That should read… flock.update(shuffled=True, separation=10, alignment=5, cohesion=100, goal=20, limit=30) Thanks.
Corrected. Thanks
Boids library documentation typo
Posted by Alan Holding on Feb 27, 2009Hi,
There is a typo in the Boids library documentation on this page http://nodebox.net/code/index.php/Boids.
Under 'creating a flock' there is the line…
flock.update(shuffled=True,
separation-10, alignment=5, cohension=100,
goal=20, limit=30)
That should read…
flock.update(shuffled=True,
separation=10, alignment=5, cohesion=100,
goal=20, limit=30)
Thanks.