degrees
degrees(value) converts a finite degree angle to radians. Manipulation rotation uses radians, while existing Group.rotationDegrees keeps its degree units.
import { degrees } from "@pibbl/core";
const angleStep = degrees(15);API details from source
Section titled “API details from source”
Convert a finite degree angle to radians.
degrees: (value: number) => numberRelated API: degrees.
Parameters
Section titled “Parameters”value— Angle in degrees.
Returns
Section titled “Returns”The equivalent angle in radians.
See also
Section titled “See also”View source — packages/core/src/lib/manipulation/degrees.ts:10
Implementation guidance for agents
Section titled “Implementation guidance for agents”Read the Authoring, signals, and lifecycle companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.
Complete minimal examples
Section titled “Complete minimal examples”- Drag, resize, and rotate: Use the convenience component with a writable geometry box. Plain source
Documentation version
Section titled “Documentation version”Documentation built with @pibbl/core 0.0.2, revision 2dccb19. ALPHA — NOT FOR PRODUCTION USE.