Interacting particle system. Looks like

Interacting particle system. Looks like an artificial chemistry or swarm chem...
Tim HuttonTim Hutton - 2012-08-15 13:16:20+0000 - Updated: 2012-08-15 13:18:38+0000
Interacting particle system. Looks like an artificial chemistry or swarm chemistry of some kind. I would like to know what rules are being used.

This is an example of self organization structures of 12288 dots. Every dot interacts with close dots and repel or attract using some rules. This project has...

Shared with: Public
Reshared by: Hiroki Sayama
Hiroki Sayama - 2012-08-15 23:42:13+0000
Very interesting, and looks pretty close to swarm chemistry. I wanted to do something similar on GPU (if I had time...)
Tim Hutton - 2012-08-16 08:43:19+0000
I've been playing with OpenCL. It wouldn't be too hard. Let me know if you want any help!
Hiroki Sayama - 2012-08-16 11:59:29+0000
Thanks Tim. Are there any sample codes of similar particle simulations? I would first take a look at those.
Tim Hutton - 2012-08-16 12:04:11+0000
Yes, an "N-Body" sample comes with most OpenCL/CUDA SDKs:
http://www.browndeertechnology.com/docs/BDT_OpenCL_Tutorial_NBody-rev3.html
Each OpenCL kernel deals with the forces on one atom. For a swarm simulation you'd just need to tweak the forces and give each atom a state, I think.
Hiroki Sayama - 2012-08-16 12:05:49+0000
Super! Thanks, will have a look.

This post was originally on Google+