Updated indentation with 4 spaces
Particle duration & frequency now parameterized