Feature Library

Strand creatures

0.98 GPU · 0.30 CPU ms
A still of the Strand creatures demo
Still
The live demo starts when it’s in view.Click near the creature to strike it · drag to orbit

Creatures made of living lines: hundreds of Verlet strands pulled into a form, wound round its limbs, squirming, sagging and flinching from hits, two compute…

What it costs a frame

0.98 ms
0.30 ms
GPU
0.98 ms
CPU, median
0.30 ms
CPU, 95th pct
0.52 ms
Draw calls
4
Compute passes
2
Weight
Moderate

Measured 3 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 156, 1920×1080 at 1×. 600 frames × 3 rounds, median kept. Phones: tiers are being measured next.

On every machine it was measured on
MachineGPU msCPU msCPU p95
RTX 4060 Laptop · 13th Gen Intel(R) Core(TM) i9-13900Hreference · measuring tool0.980.300.52
apple · Apple A19 Proin a browser tab · 16 November 20263.610.080.12
Intel Arc 140V (Xe2-LPG) · Intel Core Ultra 7 258Vin a browser tab · 15 November 20268.650.731.09

Bars against one 16.7 ms frame. A browser-tab run is timed in a visible tab without the tool’s scripted input, so read it as close, not exact.

What it needs

Renders with
WebGPU or WebGLWebGPU where there is one, WebGL2 where there is not.
Your browser
Runs hereNo WebGPU needed
Depends on
three.js 0.187.0No other packages

What it’s for

  1. Monsters and horror creatures
  2. Tentacles and vines
  3. Living cables
  4. Organic route networks
  5. Herds of creatures

Pitfalls, in brief

  1. Guides come from the CPU each frame (a few hundred bytes); everything else stays on the GPU.
  2. Changing the strand or point count rebuilds the buffers and compiles new pipelines: treat it as a load, not a live knob.
  3. A herd is one creature with copies: one dispatch a pass for all of them; draw far copies as the lighter tube (show(near, far)).
  4. Between forms with the same limbs, blend the guides (blendForms); otherwise call reform() so the strands are dealt out again and flow into the new shape.
  5. Ground under each copy is a small height grid (setGround): resample it only after the copy has walked on half a metre.
1 more in brief
  1. Without WebGPU, pass { textures: StrandCreature.needsTextures(renderer) }: three’s WebGL2 backend has no compute, so the points, the step before and the frames live in 32-bit float render targets and each pass is a full-screen draw.
6 pitfalls in full, the hook-up guide, the module source and its tests come with the part.

Where it comes from

From HaTac. Fully custom code.

verletcomputetubesparallel transportcatmull-romherdsprocedural animationtsl

Near it in the frame