Skip to content

circlesToDrawables

circlesToDrawables(c): DrawableVector[]

Defined in: core/instanced-vector.ts:78

Instanced circles → one drawable per instance.

A borders entry is the ring thickness as a fraction of the radius, which the fragment shader paints as the outer annulus over the fill disc. The exact vector equivalent is ONE circle stroked on its ring centreline: r·(1 − b/2) with stroke-width = r·b covers [r·(1−b), r] in the ring colour and leaves the fill visible inside — which also renders a transparent-fill ring (the LOD aggregate halo) correctly, where two stacked discs would fill the hole.

InstancedCirclesData

DrawableVector[]