@masatomakino/tween.js-ticker
    Preparing search index...

    @masatomakino/tween.js-ticker

    tween.js-ticker

    Warning

    We do not recommend new installations of tween.js-ticker and tween.js v25 or later. manage tween instance creation/update manually.

    This module is a simple Tween.js mainGroup substitute.

    MIT License Test Maintainability Test Coverage

    ReadMe Card

    Demo page

    npm install @masatomakino/tween.js-ticker -D
    
    import { TWEENTicker } from "@masatomakino/tween.js-ticker";

    const tween = new Tween({ x: 0 })
    .to({ x: 100 }, 1000)
    .start();

    TWEENTicker.group.add(tween); // start updating

    tween.remove(); // if you want to stop updating, call remove method.

    Just import it, tween.js-ticker will start automatically.

    In Tween.js v25 and later, completed tween instances are not automatically removed from a group. To remove a tween instance, you must manually call the remove function.

    API documentation

    MIT licensed.