World Building

Crowd Budget

What this shows

Measure a repeated field of agents while their transforms update.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

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;