pronotron-tech-art-suite
    Preparing search index...

    Module @pronotron/utils

    @pronotron/utils

    NPM Package Build Size

    A set of helper modules used by other @pronotron packages, which can also be used individually.

    • Animator: Built on NativeControlTable and Clock, provides a lightweight yet powerful system for managing large-scale animations with high efficiency.
    • NativeControlTable: Utilizes TypedArrays and a given Enum structure to store grouped data in direct-access memory, enabling blazing-fast, secure iterations and modifications.
    • Clock: Simultaneously tracks two types of time, continuous and pausable. Pausable time stops ticking when the screen is inactive.

    Classes

    IDPool
    NativeControlTable
    PronotronAnimator
    PronotronClock

    Type Aliases

    AnimationOption
    BinaryBoolean
    EnumValueMap
    KeysOfUnion
    MergedProps
    RequireAtLeastOne
    RequireAtLeastOneFromUnion
    RequireExactlyOne

    Functions

    isTouchDevice