             velocity: [0, 0, 0]
             timestamp: note.timestamp
 
+    # Discard particles if necessary
+    if particles.length > maxParticles
+        particles = particles.slice particles.length - maxParticles
+
     # Update appearance of all particles
     for p in particles
 


# Live particles
particles = []

# Notes for low frequency oscillators
lfoNotes = {}

origin = [0, 0, 0]

# Physics
frameDelay = 10
timestepSize = 0.010
gain = 0.1

