def generateSmokeTrailList(numberOfPS): psList = [] i = 0 while i < numberOfPS: mist = particles.createSmokeTrail() psList.append(mist) i = i + 1 return psList