Another Processing Experiment
No sound with this just yet, but some ideas are there.
Use left mouse to attract, right mouse to repel, ‘r’ reverses direction, j adds just a little random velocity, 0 (zero) toggles color changing, ‘b’ toggles background, ‘a’ toggles between acceleration and velocity
Here is version 2. Press ‘1’ and ‘2’ to increase and decrease size of dot. ‘B’ (capital) will toggle boundary or wrap around.