File: one plugin = one file, <id>.pvm.js β a plain ES module, no build step or dependencies.
computeParticle(i, count, time, p, target, color) β the rendering contract. Runs ~60Γ/sec for thousands of particles. Mutate target (THREE.Vector3 position) and color (THREE.Color). Must be deterministic: no DOM, audio, network or global state.
params + paramSchema β defaults plus slider definitions ({ key, label, min, max, step, unit? }) that auto-generate the control panel in the studio.
cameraPos [x, y, z] sets the opening camera. Optional bgColor (hex) and bloomThreshold (0β1) tweak the backdrop and glow.
id must be a lowercase slug; format must be "pvm-1". Export the file to share it β anyone can paste it here and install.