Skip to content

Helpers

The helpers modules expose utility functions that are useful on their own and are also reused by the higher-level APIs.

  • loop manages animation frame playback.
  • onResize and watchBoundingRect react to element size and layout changes.
  • onPointerEvents normalizes canvas pointer interactions.

Released under the MIT License.