Javascript Particle System


Is it possible to develop a script where I can manipulate the particles behavior?
For example, loop throw all the particles and change its coordinates based on other objects position.

If not, is there other possibilities link shaders?


No, there is no direct access to particles (position) through javascript, but of course you can drive any of the Affectors with javascript. You can drive a field by a texture and use a Field affector on the particle system to achieve what you are describing - but it generally it takes some extra shader work on the incoming texture.