sorry I don't really know how to use your values for patterns.
maybe research here:
http://processing.org/learning/topics/multipleparticlesystems.html
http://processing.org/learning/topics/flocking.html
or
http://openprocessing.org/collections/
in collection flocking or
Particles or
data visualization
Cheers!