Particle systems
Model fire, smoke, sparks and rain as many small independent points that are emitted, aged, moved by forces and rendered as sprites, instead of as one surface.
Also known as particle effects, sprite particles, fuzzy objects
In the family Simulation & animation, particles & VFX
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | Plugin | npm i three.quarks docs |
| Babylon.js 9.38.0 | Built in | new BABYLON.ParticleSystem(name, capacity, scene) docs |
| Godot 4.7 | Built in | GPUParticles3D or CPUParticles3D node docs |
| Unity | Built in | Add a ParticleSystem (Shuriken) component docs |
| Unreal 5.7 | Built in | Niagara System and Emitter assets (Content Browser > Add > FX > Niagara System) docs |
| Blender 5.2 | Built in | Properties > Particles tab (Particle System modifier) docs CPU particle system. |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
A particle system is an emitter plus a population. Each frame the emitter spawns new particles with randomised position, velocity, lifetime, size and colour drawn from distributions. Every live particle then advances: velocity is updated from forces such as gravity, drag and wind, position is integrated (usually explicit or semi-implicit Euler), and age increases. Properties like size, opacity and colour are read from curves over normalised age, so a spark can start white and hot and end as a dim ember. Particles older than their lifetime are recycled. Rendering turns each particle into a camera-facing quad or a ribbon, blended additively for glows or alpha-blended for smoke, and sorted back to front when order matters. The original formulation also allowed child systems and stochastic variation of every parameter, which is why the same machinery still drives most game VFX graphs.
When to choose it
Reach for it when
- need sparks, embers or dust drifting around a scene
- fire and smoke effect looks like one flat solid object
- want thousands of small fading glow points cheaply
- effects need emitter with random lifetime, size and colour over age
Choose it for fuzzy, volumeless phenomena: sparks, embers, dust, rain, magic trails, muzzle flash. A plain CPU or single-pass system is fine up to a few thousand particles. Prefer GPU particle systems once you need hundreds of thousands to millions, depth collisions or simulation in a compute pass. Prefer Smoothed Particle Hydrodynamics (fluids) or Position Based Fluids when particles must interact and behave like a liquid. Prefer Ray-marched Participating Media for dense smoke that needs self-shadowing, and Boids flocking when agents steer from neighbours. Pair with Soft particles (depth-fade billboards) to hide intersection seams and Curl noise for procedural fluid motion for swirling motion.
Field marks
- Large alpha-blended sprites cause heavy overdraw and fill-rate spikes on mobile
- Hard intersection lines where a quad cuts through scene geometry (see soft-particles)
- Visible popping when sort order or lifetime curves change abruptly between frames
- Variable frame time changes the emission pattern unless spawn counts are accumulated with a fractional remainder
- Flat, card-like look in smoke because sprites carry no volumetric lighting
Presets
Stateless ballistic fountain (140 particles)
{
"count": 140,
"life": 2,
"speed": 1.2,
"spread": 0.55,
"gravity": [
0,
-1.6
]
}Show GLSL (25 lines)
// GLSL ES 3.0, Shadertoy-style. Stateless fountain: every particle is a closed-form ballistic arc of age.
const int COUNT = 140;
const float LIFE = 2.0;
const float SPEED = 1.2;
const float SPREAD = 0.55;
const vec2 GRAVITY = vec2(0.0, -1.6);
float hash11(float n) { return fract(sin(n * 127.1) * 43758.5453); }
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
vec3 col = mix(vec3(0.02, 0.03, 0.07), vec3(0.08, 0.05, 0.12), uv.y + 0.5);
for (int i = 0; i < COUNT; i++) {
float fi = float(i);
float age = fract((iTime + hash11(fi + 1.0) * LIFE) / LIFE); // 0 at birth, 1 at death
float t = age * LIFE;
float ang = (hash11(fi * 3.7 + 2.0) - 0.5) * 2.0 * SPREAD;
float sp = SPEED * (0.7 + 0.5 * hash11(fi * 5.3 + 4.0));
vec2 p = vec2(0.0, -0.4) + vec2(sin(ang), cos(ang)) * sp * t + 0.5 * GRAVITY * t * t;
float r = 0.014 * (1.0 - 0.6 * age);
float a = smoothstep(r * 2.0, 0.0, length(uv - p)) * (1.0 - age);
col += mix(vec3(1.0, 0.85, 0.35), vec3(1.0, 0.2, 0.05), age) * a * 1.3;
}
fragColor = vec4(pow(col, vec3(0.4545)), 1.0);
}Attribution: written for this index
Measured GPU weight & timing
| Preset | GPU | Weight / p50 / p95 | Method |
|---|---|---|---|
| particle-systems-fountain | Tesla T4 1920x1080 | 82.5× baseline (extreme) · 2.72 ms / 2.80 ms | opengl-timer-query · 40 frames · GPU Weight Atlas · Colab T4 sweep |
| particle-systems-fountain | NVIDIA L4 1920x1080 | 58.2× baseline (heavy) · 0.925 ms / 0.932 ms · 2.9× faster on L4 | opengl-timer-query · Cross-architecture validation |
| particle-systems-fountain | NVIDIA A100-SXM4-40GB 1920x1080 | 53.7× baseline (heavy) · 1.55 ms / 1.55 ms · 1.8× faster on A100 | opengl-timer-query · Cross-architecture validation |
Lineage
From the citation graph (Crossref reference lists): cited by Interactive Climbing Plant Modeling, Kajiya-Kay hair shading, Lattice Boltzmann fluids.
Crosses
- Curl noise for procedural fluid motion: Curl noise supplies a divergence-free velocity field that particle updates sample each step for swirling smoke and dust.
- Soft particles (depth-fade billboards): Particle quads are rendered with a depth fade against the scene depth so they stop cutting hard lines through geometry.
Sources
- primaryWilliam T. Reeves (1983). Particle systems—a technique for modeling a class of fuzzy objects. ACM SIGGRAPH Computer Graphics.Verified via crossref · 2026-11-29doi:10.1145/964967.801167
- tutorialUnity Technologies. Unity Visual Effect Graph documentation. docs.unity3d.com.Verified via live page · 2026-11-29
- implementationmrdoob (2010). mrdoob/three.js. JavaScript 3D Library.GitHub API · license MIT · 2026-11-29