Nine Pounds of Mayonnaise

    animation-utils

    0.5.10 • Public • Published

    animation-utils

    NPM Version codecov Build Status DUB Greenkeeper badge Node Security

    Animation utilities

    Constants

    • TAU

    Trigonometry

    • point
    • degToRad
    • radToDeg
    • angleToPoint
    • distanceBetweenPoints

    Random

    • randomInRange
    • randomIntInRange
    • randomInInRangeInclusiveMax

    Color

    • rgbArrayToString
    • rgbaArrayToString

    Canvas

    • canvasMidpoint
    • canvasContentDimensions
    • canvasScaleValue
    • canvasAvailableMimeTypes
    • canvasToImage
    • canvasToDownload

    Device

    • devicePixelRatio

    Oscillators

    • sineOscillator
    • squareOscillator
    • sawtoothOscillator
    • reverseSawtoothOscillator
    • triangleOscillator

    Keywords

    none

    Install

    npm i animation-utils

    DownloadsWeekly Downloads

    2

    Version

    0.5.10

    License

    MIT

    Unpacked Size

    28.3 kB

    Total Files

    65

    Last publish

    Collaborators

    • undistraction