Skip to content

onCircle

onCircle(radius?): Point

Defined in: src/geometry.ts:60

A uniform point on the circumference of a circle.

number = 1

Point

onCircle(100); // [ -70.7, 70.7 ] always exactly 100 from the origin