Skip to content

Authoring, signals, and lifecycle

Read as Markdown

Detailed agent guidance · All capabilities

  • Grid and reference lines: Decorative scale-aligned guides with explicit composition-owned spans.
  • HoverData: Evaluates an ordinary synchronous query and renders its typed result.
  • Manipulable: Composes a geometry controller, content frame, and standard handles.
  • Numeric ticks and formatting: Readable linear ticks, explicit domain nicening, and number formatting without changing data geometry.
  • Sprite: Draw an atlas frame or frame signal with stable logical bounds, trim, rotation, and sampling.
  • batch: Groups synchronous signal writes into one notification wave.
  • closestPoint: Creates a function selecting the closest mapped observation across named series.
  • closestX: Creates a query for the recorded observation nearest a domain x value.
  • computed: Creates a lazy cached readonly signal from dynamic dependencies.
  • createElement: Creates the branded Pibbl element descriptor without JSX.
  • definePrimitive: Defines a capability-bearing Pibbl platform component.
  • degrees: Converts finite degree angles to radians.
  • isSignal: Recognizes Pibbl writable, readonly, and computed signal values.
  • State machine functions: Define flat machines, create signal-backed actors, update immutable context, and own cancelable tasks.
  • normalizeEdges: Normalizes public edge shorthand to finite top/right/bottom/left values.
  • pibbl: Mounts or updates one Pibbl scene on a Canvas.
  • resolveBox: Resolves a declared local box against finite constraints.
  • resolveLength: Resolves a numeric, percentage, or auto public length.
  • resolveSignalValue: Resolves one plain-or-signal component input.
  • signal: Creates a writable value for explicit reads or declared signal-valued inputs.
  • Sprite sheets and clips: Load explicit atlas formats or regular grids and define discrete frame animations.
  • untracked: Reads signals without collecting dependency edges.
  • useComputed: Owns one lazy readonly computed signal for a mounted component hook slot.
  • useConst: Creates one untracked mount-lifetime value without graph participation.
  • useMachine: Own a state-machine actor for one mounted component and read its snapshot through signals.
  • useReaction: Owns signal-driven imperative setup and exact cleanup in Complete.
  • useRef: Creates a stable mutable reference object for one component lifetime.
  • useSignal: Owns one writable signal for a mounted component hook slot.
  • useVisibilityTransition: Controls a mounted subject’s visual entrance and exit with request-scoped completion.
  • API overview: The supported @pibbl/core, @pibbl/three, @pibbl/core/particles, @pibbl/core/physics, and @pibbl/core/viz APIs, arranged by authoring role.
  • Canvas and runtime types: Surface, controller, signal, animation, and hook-value contracts.
  • Elements and component types: Pibbl’s branded element protocol, component props, and path-constructor inputs.
  • State machine types: Definitions, actors, transitions, and cancelable work.
  • Signal-valued inputs: Plain-or-signal input types and the declared shallow resolution contract.
  • Sprite types: Atlas geometry, shared ownership, formats, and drawing inputs.

Documentation built with @pibbl/core 0.0.2, revision c321a83. ALPHA — NOT FOR PRODUCTION USE.