threejs-worldgen
    Preparing search index...

    Function spawnRate

    • Particles per second for a pool: rate × weight, throttled so particles living meanLife seconds never need more than capacity slots (the ring would otherwise recycle live particles early).

      Parameters

      • rate: number
      • weight: number
      • capacity: number
      • meanLife: number

      Returns number