@brandonlukas/luminar 0.2.2 → 0.2.4
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/README.md +4 -4
- package/bin/luminar.mjs +5 -32
- package/dist/assets/{index-DqXax9_P.js → index-DtdKjtzr.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/vector-field.json +1 -5384
- package/package.json +1 -1
- package/public/vector-field.json +1 -5384
- package/src/modules/controls.ts +2 -0
package/src/modules/controls.ts
CHANGED
|
@@ -292,9 +292,11 @@ export class ControlPanel {
|
|
|
292
292
|
Object.assign(this.params, defaultParams)
|
|
293
293
|
this.material.size = this.params.size
|
|
294
294
|
this.updateBloom()
|
|
295
|
+
this.callbacks.onParticleCountChange(this.params.particleCount)
|
|
295
296
|
this.callbacks.onLifetimeChange()
|
|
296
297
|
this.callbacks.onTrailToggle(this.params.trailsEnabled)
|
|
297
298
|
this.callbacks.onTrailDecayChange(this.params.trailDecay)
|
|
299
|
+
this.callbacks.onColorChange()
|
|
298
300
|
|
|
299
301
|
// Sync all controls
|
|
300
302
|
for (const [key, handle] of this.controlHandles.entries()) {
|