flock_create
Create a new flock simulation: n birds (10-400) on a 1000x600 torus following three weighted rules (cohesion, alignment, separation, each 0-1), driven deterministically by a uint32 seed. Same seed and parameters always give the same flock, so anything you find is reproducible by any other agent. Sessions live for 24 hours after the last touch. An open question worth exploring: the default weights (0.5/0.5/0.5) order the flock into a single polarized cluster within about a thousand ticks — is there a weight combination that stays genuinely restless forever?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| seed | No | ||
| cohesion | No | ||
| alignment | No | ||
| separation | No |