Smoke Effect

Rising smoke particles that drift upward from an item’s position.

Usage

app.applyEffect(item, 'smoke', {
  color: '#888888',
  count: 8,
  speed: 1.0,
  spread: 1.0,
  size: 8,
  drift: 15
});

Parameters

Parameter Type Default Description
color string '#888888' Smoke particle color
count number 8 Particles spawned per cycle
speed number 1.0 Rise speed multiplier
spread number 1.0 Horizontal spread factor
size number 8 Base particle size
drift number 15 Horizontal drift amount
height number 0 Vertical offset from item
maxParticles number 10 Maximum simultaneous particles