1. rengi
  2. rng-vfx
  3. three.js

three.js VFX with coding agents WebGL and WebGPU

Every clip here was made by a fresh agent in three.js with rng-vfx and nothing else: procedural shaders, no textures, no hand edits. The skill gives it the approach per effect, the blending and bloom rules, and a script that renders review strips headlessly.

Every clip on this page was made by a fresh agent in three.js using only the skill and procedural shaders: no textures, no hand edits.

What the skill gives the agent

Closed-form instanced bursts

Each instance's position solved in the vertex shader from its age, so hits and explosions cost no CPU per frame and scrub exactly.

The right approach per effect

A CPU pool into one InstancedMesh for continuous emitters, GPGPU or WebGPU compute for tens of thousands, ShaderMaterial meshes for slashes, rings and domes.

Bloom and blending

Instanced quads instead of Points so sparks stretch along velocity, pixel-size clamps against aliasing, levels set relative to the bloom threshold.

Reviewed headlessly

capture_strip.py renders stills and a frame-by-frame motion sheet, so the agent compares its effect with the reference before you see it.

What agents get wrong without it

  • Points for sparks: they cannot rotate or stretch along their motion.
  • Thin shapes that alias and shimmer because nothing clamps their size in pixels.
  • Effects too timid to have weight, with nothing reacting on the target or the ground.
  • A grenade drawn as a fuel fireball, smoke floating away as one unlit lump.
  • Brightness tuned by eye, so the core either never blooms or the whole effect turns white.

Made by agents with the skill

Questions

Does it need textures or generated images?

No. Everything in the gallery is procedural shaders. The skill can use textures and flipbooks when your project has them.

WebGL or WebGPU?

Both. Closed-form bursts and CPU pools run on WebGL; tens of thousands of particles go to GPGPU ping-pong textures or WebGPU compute with TSL.

How does the agent check its work?

The bundled capture_strip.py renders review stills and a motion sheet of a web effect headlessly, and the agent compares them with its reference breakdown.

How do I install it?

In Claude Code run /plugin marketplace add MRRengi/rng-vfx, then /plugin install rng-vfx@rng-vfx. Any other agent that reads skills: copy the skills/rng-vfx folder into its skills folder. Codex, Cursor and others can read AGENTS.md in the repository. It is free and MIT licensed.

Install rng-vfx

Free and MIT licensed. In Claude Code:

/plugin marketplace add MRRengi/rng-vfx
/plugin install rng-vfx@rng-vfx

Other agents: copy skills/rng-vfx/ into their skills folder, or point Codex and Cursor at AGENTS.md.