2.0.1 • Published 3 years ago
@framefactory/core v2.0.1
FF Core Typescript Foundation Library
Copyright 2021 Frame Factory GmbH, Ralph Wiedemeier
Overview
This library is part of the Frame Factory Typescript foundation libraries. It provides core functions and types for building rich web and service applications.
Features
- 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).
- 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
Usage
source
contains the TypeScript source codebuilt/export
contains JavaScript code with type annotations (*.d.ts
files)build/test
contains compiled test code
# clean build directory
npm run clean
# build the library
npm run build
# build and run the tests
npm run test