Documentation
    Preparing search index...

    Interface CircleGeometry2DOptions

    Options of circleGeometry2D.

    interface CircleGeometry2DOptions {
        radius?: number;
        segments?: number;
    }
    Index
    radius?: number

    Distance from the centre to the rim; defaults to 1.

    segments?: number

    Number of rim vertices, i.e. of triangles in the fan. Defaults to 32, which keeps a unit circle's silhouette error under about half a percent of its radius — smooth enough for MVP-tier 2D shapes at any reasonable on-screen size. Must be a finite integer ≥ 3.