首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Particles interact according to simple rules but produce complex behaviour.

Particles interact according to simple rules but produce complex behaviour.

资 源 简 介

In p, a bunch of particles interact with each other according to this simple rule: every particle moves towards, away, or watches another particle(s). When the program starts, each particle chooses a random color, position, and the particle(s) it will move towards, away, or watch. As the program runs, some particles join together to form a train and journey together thereafter. Some orbit each other. Some collapse into each other. Some form swarms that split and join. One cannot predict when or where or how many of these behaviours will emerge but they usually do.
VIP VIP
0.176541s