Copyright 2025 Frame Factory GmbH, Ralph Wiedemeier
This library is part of the Frame Factory Typescript foundation libraries. It provides core functions and types for building rich web and service applications.
- Collection types such as sorted arrays
- Utilities for handling objects (cloning, inheritance, mixin, type checking, etc.)
- Publisher base class for event broadcasting
- Dynamic type registration
- Rich color type with support for RGB and HSV with alpha channel. Converts to/from web color strings and float arrays (WebGL/WebGPU).
- Core math utilities
- Generators for unique ids
- Linear algebra types for graphics (vectors and matrices)
- Geometric primitives (paths, rectangles, boxes, etc.)
- Animation support (tweening, keyframe tracks with cubic spline support, etc.)
- Support for state machines and properties
src
contains the TypeScript source codebuild
contains transpiled ECMAScript module files
# clean build directory
pnpm run clean
# build the library
pnpm run build
# build and run the tests
pnpm run test