Simulation-Boid
模拟鱼群的游动。
首先随机生成一定(可更改)数量的鱼,然后进行wander,当发现视野内(120)有其他鱼,会进行cohesion,过程中会进行separation,velocity match等,直到组成鱼群,以鱼群的形态进行移动。
Simulate the cohesion of fish.
First randomly generate a certain (changeable) number of fish, and then perform wandering. When other fish are found in the field of vision (120), cohesion will be performed, move in the group.
Leave a comment
Log in with itch.io to leave a comment.