function createParticleCollection() {
  const collection = {}
  COLOR_CODES_W_INVIS.forEach((color) => {
    collection[color] = []
  })
  return collection
}
// Particles are stored in arrays keyed by color (code, not name) for improved rendering performance.
Particles are stored in arrays keyed by color (code, not name) for improved rendering performance.
Particles are stored in arrays keyed by color ( code not name ) for improved rendering performance .
function createParticleCollection() {
  const collection = {}
  COLOR_CODES_W_INVIS.forEach((color) => {
    collection[color] = []
  })
  return collection
}
function createParticleCollection ( ) { const collection = { } COLOR_CODES_W_INVIS . forEach ( ( color ) => { collection [ color ] = [ ] } ) return collection }
Particles are stored in arrays keyed by color (code, not name) for improved rendering performance.
Particles are stored in arrays keyed by color ( code not name ) for improved rendering performance .