XYZ

Related utilities share a page, so each demo reads as a complete idea instead of a list of isolated exports.

@joycostudio/xyz

Reusable building blocks for application logic, independent of any renderer.

  • class Derived

    Combine independent keyed claims through an explicit resolution policy.

  • function edge

    Respond when a selected piece of state crosses an edge.

  • class Disposer

    Collect owner-local cleanup work and unwind it safely in reverse order.

  • function defineAssetSource

    Keep authored asset names at call sites while a planner selects the optimized output.

  • class Module and ModuleHost

    Own children, select state, emit typed events, and coordinate ticking and teardown.

  • function Module inspection

    Observe ownership and activity, or connect a same-origin development inspector.

@joycostudio/xyz/debug

Tools for inspecting and tuning application behavior during development.

  • class DebugManager

    Create a lazy debug pane and control when it appears.

  • function bindDebugSchema

    Describe values, controls, groups, and actions once, then bind them to Tweakpane.

@joycostudio/xyz/three

Utilities for building and managing Three.js experiences.

  • class Warmup

    Discover a scene, prepare its GPU resources, and restore every temporary mutation before play.