@newkrok/three-particles 2.14.0 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/llms-full.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # @newkrok/three-particles — Full API Reference
2
2
 
3
- > Three.js-based high-performance particle system library (v2.11.0)
3
+ > Three.js-based high-performance particle system library
4
4
  > License: MIT | Author: Istvan Krisztian Somoracz
5
5
  > Repository: https://github.com/NewKrok/three-particles
6
6
 
@@ -67,6 +67,7 @@ function animate() {
67
67
  | `resumeEmitter()` | `() => void` | Resume emitting particles |
68
68
  | `dispose()` | `() => void` | Destroy system, free resources |
69
69
  | `update(cycleData)` | `(CycleData) => void` | Update this system individually |
70
+ | `updateConfig(config)` | `(Partial<ParticleSystemConfig>) => void` | Update configuration at runtime without recreating the system. System-level properties (gravity, force fields, noise, emission, color/size/opacity over lifetime) take effect immediately. Per-particle spawn properties (startColor, startSize, etc.) affect only newly emitted particles. |
70
71
 
71
72
  ---
72
73
 
package/llms.txt CHANGED
@@ -50,6 +50,7 @@ function animate() {
50
50
  - `resumeEmitter()` — Resume particle emission
51
51
  - `dispose()` — Clean up and free resources
52
52
  - `update(cycleData)` — Update this specific system only
53
+ - `updateConfig(config)` — Update configuration at runtime without recreating the system
53
54
 
54
55
  ## Key Configuration Properties
55
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newkrok/three-particles",
3
- "version": "2.14.0",
3
+ "version": "2.15.0",
4
4
  "type": "module",
5
5
  "description": "Three.js-based high-performance particle system library designed for creating visually stunning particle effects with ease. Perfect for game developers and 3D applications.",
6
6
  "main": "./dist/index.js",