Hi Kilinch, thanks for your comment.
At first I used intensity but color code seemed better to me. I am used to this kind of color code with blue meaning cool and red meaning hot.
The code is complicated because I wanted to be able to count particles by the end of the process. If you triple click a particle you will be able to count particles within the same velocity range and build a sampling from a Maxwell-Boltzmann distribution.
Thanks again! I am a physics teacher and intent to use algodoo in my classes. I have been using Algoddo for a couple of months only...