You can increase the number of particles by changing this line:
totalLines = 60000,
My PC starts getting slower after 150K, but it works, though slowly, even with 1 million.