World Building
Crowd Budget
What this shows
Measure a repeated field of agents while their transforms update.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const mesh = new EASEL.InstancedMesh(geometry, material, 64);
mesh.setMatrixAt(index, matrix);
mesh.setColorAt(index, new EASEL.Color(0x5da8e8));
mesh.count = activeCount;