Change the different values, and make interesting patterns! Clicking, or SPACE restarts it. Quiz: When you have an even number of lines, do the balls pass through each other, or bounce off?
Slightly inspired by @Scratch-mation's project "ball physics". 100% coded by me. Every pattern will repeat itself, so if you are patient, you might see it repeat with 100 lines! (probably only a couple hours of staring at it!) P.S. I don't recommend doing the above with any thing that has more than five lines.