I like what you have done to the brownian motion applet. I was wondering if you could help me make an additional modification. I am trying to increase the number of Particle[0] to an array size so that the user can input a number of "yellow" particles say from 1 to 20 particles. I am having a difficult time doing this for I am a novice at the coding part of ejs.

Thank you for any help or insight you can give me.