Skip to content

PointBatch

Defined in: core/backend.ts:5

Transient, GPU/Canvas-ready point data. Owned by no one — built per repaint and discarded.

colors: Uint8Array

Defined in: core/backend.ts:11

RGBA bytes per point (4 per point), parallel to positions.


count: number

Defined in: core/backend.ts:13

number of points actually packed (after culling).


positions: Float32Array

Defined in: core/backend.ts:7

[x, y] per point, in projected world coords (pre view-transform).


radii: Float32Array

Defined in: core/backend.ts:9

radius (reference px) per point.