3. User commands - coppolam/swarmulator GitHub Wiki
You can interact with Swarmulator in real time through the animation window. It is possible to intuitively move and zoom within the animation using drag-and-drop and your mouse's scroll wheel.
Additionally, there are a number of keyboard commands for the following:
- Add a new agent (
a
). This can be done by pressing thea
, at which point a new agent will be created at the location pointed by the mouse cursor. - Pause (
p
). The simulation can be paused by pressing thep
key. - Resume (
r
). Resume the simulation. Pressingr
while the simulation is running normally will cause it to pause. - Step-through (
s
). This will run the simulation for a very small time step and then pause. It can be pressed repeatedly to slowly step through the simulation. - Quit (
q
). This will quit Swarmulator.