Table of Contents

Class: SwarmParticle swarm.py

The swarm particle is mainstay of the simulation. If the swarm particle is within a certain distance of the chase particle, it will attempt to match its velocity. If not, it will alter its velocity to approach the chase particle. Both the acceleration and speed of the particle is bounded above, and a random nudging effect is applied to result in a random element.

Base Classes   
zoe.NewtonianParticle
Methods   
update
  update 
update ( self )


Table of Contents

This document was automatically generated on Sat Feb 17 22:24:25 2007 by HappyDoc version 2.1