ES6 version of tween.js

Overview

es6-tween

This project development suspended due of no support from community and no financial support to author

  • High-performant animations without headaches
  • Simple, modular and functional animation library for web and node
  • Tweening library that needs to use where performance matter
  • Flexible, extendable, modular and resource-efficient tweening library

NPM Min Size NPM Gzip Size CDNJS NPM Version NPM Downloads license Travis tests
NPM

Frameworks

Docs

TWEEN.autoPlay(true); // simplify the your code

let coords = { x: 0, y: 0 };
let tween = new TWEEN.Tween(coords)
  .to({ x: 100, y: 100 }, 1000)
  .on('update', ({ x, y }) => {
    console.log(`The values is x: ${x} and y: ${y}`);
  })
  .start();

Plugins

Starting at v3, we provide excluded plugins from core, so our core becomes lighter and faster. Here our plugins list

Demos

Installation

Download the library and include it in your code:

<script src="bundled/Tween.js"></script>

CDN-Hosted version

  • See cdnjs-hosted version for get which result you want

  • NOTE: @latest suffix sometimes saves life by loading latest, because sometimes CDN services will not load the latest

  • Now you can load from CDN

<!-- jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/es6-tween"></script>

<!-- unpkg -->
<script src="https://unpkg.com/es6-tween"></script>

<!-- npmcdn -->
<script src="https://npmcdn.com/es6-tween"></script>

More advanced users might want to

Using import

import { Easing, Tween, autoPlay } from 'es6-tween';

Using getlibs

<script src="https://unpkg.com/getlibs"></script>
<script type="x-module">
  // ES6
  import { Easing, Tween, autoPlay } from 'es6-tween'


  // CommonJS
  const { Tween, Easing, autoPlay } = require('es6-tween')
</script>

Using npm or yarn

$ yarn add es6-tween
# or
$ npm install es6-tween

Then include the Tween.js module with the standard node.js require:

const { Tween, Easing, autoPlay } = require('es6-tween');

And you can use Tween.js as in all other examples--for example:

const t = new Tween(/* etc */);
t.start();

You can run script commands to build modules into single UMD compatible file:

Using commands

$ yarn build # builds production files
# or
$ yarn dev # builds and watchs development files

Then reference the library source:

<script src="bundled/Tween.min.js"></script>

Features

  • Tweens everything you give them, string, number, number of arrays, number of object, all-to, interpolators and much more. Endless possibilites
  • Can use CSS units (e.g. appending px)
  • Can interpolate colours
  • Easing functions are reusable outside of Tween
  • Can also use custom easing functions
  • Much of easings

Compatiblity Testing

Thanks to BrowserStack for providing us testing in a real devices to make it cross-browser, bug-free and better. BrowserStack saved my countless hours, before i spent on testing much of time, now it's very easy. I recommend to others use this service. I sure, BrowserStack helps us to make it, so i am linking to BrowserStack as our sponsor. Browser Stack Logo

Tests

yarn test

or you can go here for more information, tests and etc...

every time you want to run the tests.

If you want to add any feature or change existing features, you must run the tests to make sure you didn't break anything else. If you send a PR to add something new and it doesn't have tests, or the tests don't pass, the PR won't be accepted. See contributing for more information.

People

Thanks to

these tools developers and to their community and without these tools maybe this library wouldn't be possible

Projects using es6-tween

It's great to see this library to be used in production and/or library, thank you!

If you have projects using es6-tween, please make issue or PR, i will add here your project too :)

Comments
  • Tween: Full version [#seek] method isn't working

    Tween: Full version [#seek] method isn't working

    Issue

    Issue name

    Tween: Full version [#seek] method isn't working

    Issue description

    Tween: Full version [#seek] method isn't working

    Related

    This issue is related to

    • [ ] LICENSE

    • [ ] README

    • [ ] ABOUT COPYRIGHT VIOLATION (be careful before checking this...!)

    • [ ] package.json

    • [ ] demos/examples

    • [ ] core.ts

    • [x] Tween.ts

    • [ ] lite.ts

    • [ ] Easing.ts

    • [ ] Interpolation.ts

    • [x] Timeline.js

    • or provide something else (from es6-tween files...)

    Example

    https://codepen.io/dalisoft/pen/boBNaV (remove commented code)

    What you excepted?

    Seek the tween

    NOTE

    • Please add read code, docs, files, issues, PR list for avoid duplicating existing question, bug or something else...
    bug help wanted 
    opened by dalisoft 22
  • Visual jump after pause

    Visual jump after pause

    Hello, after this.tween.pause() in this case:

    this.node.addEventListener('mouseenter', this.pause)
    this.node.addEventListener('mouseleave', this.play)
    
    this.tween = new window.TWEEN.Tween({ x: 0 })
      .to({ x: this.contentWidth * -1 }, random(4, 8) * 1000)
      .easing(window.TWEEN.Easing.Quintic.InOut)
      .on('update', (v) => {
        this.wrapper.style.setProperty('transform', 'translate3d(' + v.x + 'px, 0, 0)')
      })
      .repeat(Infinity)
    

    I have a visual backward or forward jump for 1/3px on this.wrapper. I work with about 20 wrappers.

    • OS: MacOs
    • Browser chrome
    • Version 73.0.3683.103 (Official Build) (64-bit)
    bug question 
    opened by pfrlv 12
  • Fix update loop

    Fix update loop

    Hi,

    I figured out that the order of complete events wasn't properly repsected.

    After dig in, I found that the update loop uses

    while ( i < _tweens.length)  {
      _tweens[i++].update( time, preserve)
    }
    

    The issue is that _tweens[i++].update( time, preserve) can (actually will by default) remove the tween from our _tweens meaning we will skip the next index.

    I've added a unit test :)

    opened by moroine 9
  • Strange output values when using Tween#update manually

    Strange output values when using Tween#update manually

    I'm using es6-tween in a NodeJS script. I'm trying to evaluate a tween at a custom time using Tween#update, but I'm getting really strange results that are way out of bounds. The same code in the browser outputs better-looking numbers, but they're still incorrect.

    (I'd love a way to feed all these options to the library and get a simple tween function back which accepts a time value argument and returns the corresponding domain value, but I didn't see a way to get that in the documentation.)

    To reproduce

    let tweenVal = 0;
    
    const tween = new TWEEN.Tween({x: 0})
      .to({x: 128}, 1000)
      .easing(TWEEN.Easing.Linear.None)
      .yoyo(true)
      .repeat(Infinity)
      .on('update', val => tweenVal = val.x)
      .start();
    
    for (let t = -1000; t <= 3500; t += 500) {
      // Have to set preserve to `false` to keep tween from stopping,
      // and forceTime to `true` to get tween to run at all.
      tween.update(t, false, true);
      console.log(`at t=${t}: ${tweenVal}`);
    }
    

    https://jsfiddle.net/ds5h17fo/7/

    Expected behavior

    Given a linear tween from 0 to 128 over a duration of 1000 with .repeat(Infinity) and .yoyo(true), I expect that calling Tween#update will trigger update events with output values like the following, on every platform:

    at t=-1000: 128
    at t=-500: 64
    at t=0: 0
    at t=500: 64
    at t=1000: 128
    at t=1500: 64
    at t=2000: 0
    at t=2500: 64
    at t=3000: 128
    at t=3500: 64
    

    Actual behavior

    Firefox Developer Edition 72.0.1 (64-bit), Linux Mint 18.3.

    NOTE: outputs for time values less than the duration (-1000 thru 1000 here) are not stable, and change every time (!?) you execute the script. I tried a few durations, and it's always the times under the duration that emit strange outputs. Even stable values past the duration time are incorrect, acting as if the time is offset by 500 here.

    at t=-1000: -154.496
    at t=-500: -90.496
    at t=0: -26.496
    at t=500: 37.504
    at t=1000: 101.504
    at t=1500: 128
    at t=2000: 64
    at t=2500: 0
    at t=3000: 64
    at t=3500: 128
    

    NodeJS 10.19.0 and 12.15.0, same platform:

    NOTE: output values increase with every execution.

    at t=-1000: -25912755.214790147
    at t=-500: -25912691.214790147
    at t=0: -25912627.214790147
    at t=500: -25912563.214790147
    at t=1000: -25912499.214790147
    at t=1500: -25912435.214790147
    at t=2000: -25912371.214790147
    at t=2500: -25912307.214790147
    at t=3000: -25912243.214790147
    at t=3500: -25912179.214790147
    
    opened by mildmojo 8
  • [Feature] onRequestTick

    [Feature] onRequestTick

    Add TWEEN.onRequestTick that can be used to notify when another animation frame is needed.

    This can be used when autoPlay is false and the user wants on demand animation frame rather than continuous one.

    Also, Fix TWEEN.FrameThrottle which wasn't expose

    opened by moroine 8
  • Consolidation

    Consolidation

    Rather than having two repos that are diverging, let's get ideas from here, and make PRs for them in the base tween branch, and let's delete this repo so we can clean up the org.

    There's lots of good ideas here @dalisoft

    Then moving forward, what we should do is create new feature branches in the original repo, or make new repos under our own usernames and make pull requests onto the main repo.

    opened by trusktr 8
  • Latest Tween.js ES6

    Latest Tween.js ES6

    Features

    • [x] Compiled Single-file for performance and simple, clean result
    • [x] Works all method
    • [x] Works on Browser too ( Chrome 55+ )
    • [x] You like import and you don't want single file? You can split files and make it modular (requires some time)

    Usage

    • this javascript usage same as default Tween.js
    var tween = new TWEEN.Tween({x:0}).to({x:100}).easing(TWEEN.Easing.Quadratic.InOut).onUpdate((object, elapsed) => {
    	console.log(object);
    }).start();
    
    requestAnimationFrame(function anim(time){
    	requestAnimationFrame(anim);
    	TWEEN.update(time);
    });
    

    If this makes V2 starting...

    • Similar to TweenManager, but Group Manager is here
    • Classes are made, so everyone can extend the class with
    class MyExtend extends TWEEN.Tween { // class MyExtend extends TWEEN {
    static Foo () {}
    Bar (x) {
    return x * 5;
    }
    

    NOTE

    • If you need this work on back to IE9 (even IE8 possible), you need BabelJS.
    • You can try Babel REPL
    • Or you can try Babel in NodeJS (npm) via babel-loader plug-in
    • It's starting, when we improve it together it will be better like emit instead of onUpdate, onStart or even new things.
    • Compiling build and dev version takes just ~2min in Webpack+Babel+NodeJS
    opened by dalisoft 8
  • How to use es6-tween with Angular APP to animate vehicle Movement on ArcGIS JS API map

    How to use es6-tween with Angular APP to animate vehicle Movement on ArcGIS JS API map

    I have an angular js application. One of the controllers uses Esri MAP (ArcGIS JS API). I need to animate the vehicle graphic movement.

    What I did? I imported the es-tween library and set autoPlay to true

    const { Tween, Easing, autoPlay } = require('es6-tween'); autoPlay(true);

    On the function of the vehicle location updated I did the following code:: let position = { x: vehicle.graphic.geometry.getLongitude(), y: vehicle.graphic.geometry.getLatitude(), heading: 180 }; let target = {x:position.x+2, y:position.y}; vehicle.tween = new Tween(position).to(target, 15000).easing(Easing.Elastic.InOut).on('update', (position) => { vehicle.graphic.setGeometry(position); console.log(position); }); vehicle.tween.start(); The Tween object of the vehicle is updated with the position and target. But the vehicle image does not move.

    This is the Vehicle Object Object graphic: attributes: {currentPosition_X: -122.387786865234, currentPosition_Y: 47.5610885620117, driverName: "Unassigned", vehicleId: "new", mouseClicked: false} geometry: spatialReference: {wkid: 4326} type: "point" x: -122.387786865234 y: 47.5610885620117 proto: Object infoTemplate: undefined symbol: undefined _cache: null _extent: {type: "extent", xmin: -122.387786865234, ymin: 47.5610885620117, xmax: -122.387786865234, ymax: 47.5610885620117, …} _graphicsLayer: {_attrs: {…}, _url: null, url: null, spatialReference: {…}, initialExtent: {…}, …} _layer: {_attrs: {…}, _url: null, url: null, spatialReference: {…}, initialExtent: {…}, …} proto: Object make: "Dodge" model: "Caravan" onboard_device_id: "new" tween: L id: 7 object: {x: -122.387786865234, y: 47.5610885620117, heading: 180} updateCallback0: ƒ (position) _chainedTweensCount: 0 _delayTime: 0 _duration: 15000 _easingFunction: ƒ (t) _easingReverse: ƒ (t) _initTime: 48742.665000027046 _interpolationFunction: ƒ (t,e,r) _isFinite: true _isPlaying: true _maxListener: 15 _onStartCallbackFired: false _pausedTime: null _prevTime: 48742.665000027046 _r: 0 _rendered: false _repeat: 0 _reversed: false _startTime: 48742.665000027046 _valuesEnd: {x: -120.387786865234, y: 47.5610885620117} _valuesStart: {} _yoyo: false proto: Object vehicle_id: 888 vehicle_id_number: "new" vehicle_registration: "new" vehicle_status: "active" vehicle_type: "sedan" proto: Object

    |Issue name|Issue description|Issue Demo URL |---|---|---| | | | |

    Related

    This issue is related to

    • [ ] LICENSE

    • [ ] README

    • [ ] ABOUT COPYRIGHT VIOLATION (be careful before checking this...!)

    • [ ] package.json

    • [ ] demos/examples

    • [ ] core.ts

    • [x] Tween.ts

    • [ ] lite.ts

    • [ ] Easing.ts

    • [ ] Interpolation.ts

    • [ ] Timeline.js

    • or provide something else (from es6-tween files...)

    What you excepted?

    • Describe your result of research or idea...

    NOTE

    • Please add read code, docs, files, issues, PR list for avoid duplicating existing question, bug or something else...
    opened by kAliRM70 7
  • Import instructions for 'lite' version refer to non-existant file.

    Import instructions for 'lite' version refer to non-existant file.

    Issue description

    • I believe that import { Easing, Interpolation, Tween, autoPlay } from 'es6-tween/src/index.lite' should end with .js., not .lite.

    Related

    This issue is related to: README

    What you excepted?

    • I expected to be able to paste that line into my code and have access to the lite version of Tween. Instead, I had to change the file extension.

    Also, what is the difference between importing { Easing, Tween, autoPlay } from index.js and from es6-tween? I found I had to change .onUpdate() to .on('update', ...) when importing the library.

    opened by elliottregan 7
  • Not working in Electron

    Not working in Electron

    Issue

    Issue name

    es6-tween relies on process.hrtime if available, which seems to work unexpectedly(?) in Electron.

    Issue description

    Animations doesn't progress in Electron.

    Related

    This issue is related to

    • [ ] LICENSE
    • [ ] README
    • [ ] ABOUT COPYRIGHT VIOLATION (be careful before checking this...!)
    • [ ] package.json
    • [ ] demos/examples
    • [x] core.ts
    • [ ] Tween.ts
    • [ ] lite.ts
    • [ ] Easing.ts
    • [ ] Interpolation.ts
    • [ ] Timeline.js
    opened by Avocher 6
  • Have browser tests on travis - not only npm based

    Have browser tests on travis - not only npm based

    Current tests on travis are running on node so we're not actually using window or window.performance. Travis can run headless browsers, and we should use it to make sure we're not breaking things.

    enhancement feature 
    opened by sole 6
Releases(v5.5.11)
  • v5.5.11(Mar 3, 2020)

  • v5.5.10(May 17, 2019)

    Deprecates

    • Deprecated .duration method

    Improvements

    • 10% performance improvements
    • 25% performance improvements if a lot of string
    • Tween initialisation was reduced from 80-150ms to 35-65ms
    • String interpolation decompose was improved

    Fixes

    • Fixed TWEEN.Interpolation string interpolation
    • Re-rendering issue was fixed

    Features

    Source code(tar.gz)
    Source code(zip)
  • v5.5.3(May 8, 2019)

    Fix

    • This release should fix #74

    Improvements

    • Code style was improved with Prettier
    • Updated VSCode setting
    • Update ignores which in result faster compiling happening

    Feature

    • Added Prettier configuration
    • Using npm instead of yarn for better auditing security and faster CI tests

    Breaking change

    • Removed yarn.lock

    Other

    • And other updates which may be i missed when writing, let me know if you interested
    Source code(tar.gz)
    Source code(zip)
  • v5.5.2(Apr 24, 2019)

    Features

    • New TWEEN.ToggleLagSmoothing(state: boolean) method. Default value is false.

    Fix

    • This release should close #67

    Performance

    • We introduced new method, but this release may decrease performance by 5%. We live in era of techs where everyday new and cheap smartphone and computers are made. For animations where strong computations does not exist, this feature may make smooth animations. By default we disable this feature

    Note

    • Starting at v6 we enable the new feature by default, but v6 not appear soon because i work on my own pet-projects and full/part-time job
    Source code(tar.gz)
    Source code(zip)
  • v5.4.3(Apr 10, 2019)

  • v5.4.2(Apr 9, 2019)

    Fixes

    • This release should fix #65

    Tests

    • Added tests related to #65 to avoid in future breaking functionality

    Improvements

    • Documentation fixes and improvements
    Source code(tar.gz)
    Source code(zip)
  • v5.4.1(Mar 2, 2019)

  • v5.4.0(Mar 2, 2019)

    Features

    • Timeline is back

    Testing

    • Timeline tests
    • Some tests improving

    Fixing

    • Fix timing bug in Timeline
    • Fix timing bug in Tween
    • Fix selector bug which caused es6-tween not worked in WebWorker
    Source code(tar.gz)
    Source code(zip)
  • v5.3.2(Feb 24, 2019)

    Fixes

    • [x] This should fix #58
    • [x] Fixed tweening between large or too small integers
    • [x] Fixes package.json and more

    Improvements

    • [x] Using eslint instead of standard cli
    • [x] Documentation improvements
    Source code(tar.gz)
    Source code(zip)
  • v5.2.2(Apr 11, 2018)

    Fixes

    • [x] Linting fix for @standard
    • [x] Git ignore file fix
    • [x] small patches
    • [x] Travis error fix

    Features

    • [x] Using @babel as compiler
    • [x] Using UglifyJS as minifier
    • [x] Adding and Using @standard as linter

    Refactoring

    • [x] Removing TypeScript, sorry :(
    • [x] Removing @gulpjs file, sorry :(
    • [x] Removing @eslint :(

    Improvements

    • [x] 25% runtime performance improvements
    • [x] 79% faster compile time (including TS -> ES6 -> Bundle, as now ES6 -> Bundle)
    • [x] 15% better code readability
    Source code(tar.gz)
    Source code(zip)
  • v5.2.0(Apr 11, 2018)

    Features

    • [x] Using @babel as compiler
    • [x] Using UglifyJS as minifier
    • [x] Adding and Using @standard as linter

    Refactoring

    • [x] Removing TypeScript, sorry :(
    • [x] Removing @gulpjs file, sorry :(
    • [x] Removing @eslint :(

    Improvements

    • [x] 15% runtime performance improvements
    • [x] 75% faster compile time (including TS -> ES6 -> Bundle, as now ES6 -> Bundle)
    • [x] 5% better code readability
    Source code(tar.gz)
    Source code(zip)
  • v5.1.0(Jan 11, 2018)

  • v5.0.5(Jan 1, 2018)

  • v5.0.4(Dec 14, 2017)

    Deprecated

    • Timeline module

    Fixed

    • jsDoc comments for being docs issue fixed
    • Docs fixed and now works properly
    • Electron.js is fixed? #45
    • VSCode installation types missing issue fixed? #47 #46
    • TWEEN.update parametr fix #48
    • Now infinite repeating tweens can be stopped #41
    • Now .chain method is back #40

    Improvements

    • Now users can access to page of es6-tween via https://es6-tween.js.org, thank you https://js.org
    • Now memory usage reduced up to 3-5x while keeping performance stable
    • Accessing to subproperty now easier than ever, {x:{y:{z:5}}} now can be like {'x.y.z':5}, better?!
    • Now accessing to getter/setter much faster and effecient without creating temporarily checking object

    Refactor

    • Plugins now initialized via .call(...args) insteadof new Plugin(...args)
    • Rendering engine for called via .call(...args) insteadofnew Render(...args)`
    • Now plugins can change/manipulate the Tween properties/values itself, makes working with core easier
    • All plugins refactored

    and some small fixes, improvements and refactors that maybe not worth type here...

    Source code(tar.gz)
    Source code(zip)
  • v4.2.0(Nov 24, 2017)

  • v4.0.3(Nov 11, 2017)

  • v4.0.2(Nov 10, 2017)

    Feature

    • Super-fast property parsing technique, no overwrite, but amazingly handles this when on same DOM Node multiple tweens even with same property

    Fix

    • Fixed where New Event System was broken (handles only one event)
    • Docs fix
    • Some linting, maybe back to original when it requires

    Change

    • setMaxListener [default value] was changed from 5 to 15
    Source code(tar.gz)
    Source code(zip)
  • v4.0.1(Nov 5, 2017)

    Issue fixes

    • This should fix #41
    • This should fix #40
    • This should fix #39

    Warning approvement

    • Lite version was deprecated

    Feature

    • .chain(...args) is back (hooray)
    • .setMaxListener new method to define how much listener can be applied
    • Now EventSystem was moved to Tween.js file and optimized for performance

    Improvements

    • Memory usage was reduced 2x-4x
    • Performance was improved to up to 10%

    And much much more...

    • with Lighter size
    • cleaner code
    Source code(tar.gz)
    Source code(zip)
  • v3.8.23(Sep 25, 2017)

    Deprecate

    • Tween: #seek method deprecated as it's not working excepted. PR are welcome (for fix without loss (or less loss) of performance)

    Improvements

    • Rollup: Config file change to latest after lock-file update
    • Timing: while repeating it's now uses delay insteadof repeatDelay
    • Timing: startTime accepts relative value to current timestamp, as replacement of delayTime (as delayTime now acts like repeatDelay too)
    Source code(tar.gz)
    Source code(zip)
  • v3.8.22(Sep 24, 2017)

    • build: building now faster and better compatible
    • fix[Easing]: Easing on reverse fixed
    • fix[RollupConfig]: config-file fixed
    • fix[Seek]: not works best, but works at least
    • compatibility[UI]: making it better compatibility for better
    • fix[stop]: stop method fix
    • feat[Easing]: stepped easing added
    • feat[Selector]: making API public
    • docs[API]: update
    • fix[packageJSON]: now returns unminified
    • format[Code]: code formatting fix
    • break[Timeline]: now elapsed() is progress()
    • and some fixes, improvements and patches...
    Source code(tar.gz)
    Source code(zip)
  • v3.8.15(Sep 20, 2017)

    • Timing(fix): now timing seems works fine (after fix)
    • Visiblity(change): now timing about it takes care
    • Sync issue fix
    • [NEW] Selector function that makes work faster
    • TypeScript(types): improvements
    Source code(tar.gz)
    Source code(zip)
  • v3.8.15-f2(Sep 20, 2017)

  • v3.8.11(Sep 18, 2017)

    [NEW] Property syntax

    • Using dot notation like this scale.x.y on the property and about processing takes cares es6-tween and fast
    • 3-level parsing dot notation syntax parsing

    [NEW] Getter/Setter

    • Automatic matching getter-only properties (like one in Three.js) and don't tween that for performance reason. No one tweening engine can't do this except es6-tween with good performance...
    • Skipping getter-only properties setting for fail-safe tweening

    [NEW]

    • Relative on the all of the property
    • Dot notation on the all of the property
    • Per-subproperty or all-subproperty with dot-notated easing matching Easing feature (huh...)

    Improvements

    • Reduced object size on Garbage Collection of browsers
    Source code(tar.gz)
    Source code(zip)
  • v3.8.5(Sep 16, 2017)

    [NEW] Documentation

    • jsDoc documentation syntax on most essential part of files
    • You can see documentation at homepage
    • or at API Docs

    [NEW] Workflow / Types

    • Now we use TypeScript for better, easier and faster workflow

    [NEW] Files / Folders

    • Cleaned folder
    • Restructured one-level file level
    • Now Full and Lite folders was compiles to seperate folders by type of source

    GitHub

    • Issue template changing

    Note

    Thank you Stargazers for supported me by Stars, you're great. You're motivated me to optimize and maintain the library

    Source code(tar.gz)
    Source code(zip)
  • v3.5.3(Aug 30, 2017)

  • v3.5.2(Aug 30, 2017)

    Fix

    • This release should fix #31
    • This release should reduce memory-leak after tween complete

    Feat

    • v3.5.x is does the tweening stuffs better and hsl color fix
    • v3.5.x is back (from v3.4.x) _valuesStart for better things
    • v3.4+ does relative tweening with best performance with InterTween

    Deprecate

    • Interpolation method as does linear interpolation for all stuffs with lighter size
    Source code(tar.gz)
    Source code(zip)
  • v3.3.0(Aug 18, 2017)

    Features

    • Features & Modern label position
    • Timeline label accepts complex values without performance affecting
    • reassignValue method for fixing issue when using Timeline
    • Node first argument shifting done
    • Now tweens was removing via Tween instance, not global update as it's required by Timeline

    Fixes

    • Timeline now handles better and fixed
    • Performance drop (almost, rarely = 1/10000) issue was fixed in Timeline
    Source code(tar.gz)
    Source code(zip)
  • v3.1.0(Aug 6, 2017)

  • v3.0.5(Aug 4, 2017)

  • v3.0.2(Aug 4, 2017)

    Breaking change

    • Deprecated Composite method, that created a lot of memory
    • Deprecated old Plugins API method, that has been made non-well and low-quality code

    Feature

    • New Plugins API is out of core functionality and well-coded memory effecient and shareable method
    • DOM Node support with {node:document.querySelector('#node')} property add inside source object

    Fix

    • Semantic-Release dropped due of release failing
    • Travis CI now first lints, then builds file
    Source code(tar.gz)
    Source code(zip)
Owner
tween.js and related projects
The home for all things tweening!
tween.js and related projects
Awesome Books project with ES6 is an application that was built using Vanilla JavaScript with ES6 features like using arrow functions. This application allows you to keep records of your favorite books.

Javascript Project Awesome Books with ES6 Using Javascript to create a simple Awesome Books project. Populating the books list and then removing one b

Ghazanfar Ali 8 Sep 28, 2022
In this project, I restructure my previous Awesome books app code. The goal is to practice ES6 syntax and also make the code more organized by using ES6 modules.

Awesome Books In this project, I will restructure my previous Awesome books app code. The goal is to make it more organized by using modules. I will a

Sidney Kaguli 9 Aug 23, 2022
Aron 8 Dec 17, 2022
The Remix version of the fakebooks app demonstrated on https://remix.run. Check out the CRA version: https://github.com/kentcdodds/fakebooks-cra

Remix Fakebooks App This is a (very) simple implementation of the fakebooks mock app demonstrated on remix.run. There is no database, but there is an

Kent C. Dodds 61 Dec 22, 2022
🏊 Dive into ES6 and the future of JavaScript

Practical Modern JavaScript Dive into ES6 and the future of JavaScript ?? Modular JavaScript is a book series with the mission of improving our collec

Modular JavaScript Book Series 3.1k Jan 2, 2023
A kickstarter guide to writing ES6

ES6 for Humans ?? The complete guide is now available on Amazon Table of Contents let, const and block scoping Arrow Functions Default Function Parame

Deepak Grover 6.3k Jan 4, 2023
Lightweight JavaScript (ES6) tweening engine

Lightweight JavaScript (ES6) tweening library. EXAMPLES Examples collection DOCUMENTATION Purpose Install With npm Or fetch from CDN Basic usage Modul

Alexander Buzin 705 Dec 25, 2022
This is my to-do list website built with html, css and JavaScript. In this project I used Webpack to bundle JavaScript and ES6 modules to write modular JavaScript.

To-Do-List App This is my to-do list website built with html, css and JavaScript. In this project I used Webpack to bundle JavaScript and ES6 modules

Samuel Mwape 18 Sep 20, 2022
This app helps manage a bookstore. It comes in handy when you need to manage a personal book store or library. Entirely built on es6.

Awesome Books A Microverse project on learnong javascript. Additional description about the project and its features. Built With HTML5 CSS3 Javascript

Atugonza ( Billions ) Joel 13 Apr 22, 2022
JavaScript project for the Leader-board list app, using webpack and ES6 features, notably modules

Leaderboard JavaScript project for the Leader-board list app, using webpack and ES6 features, Built With HTML CSS Javascript webpack Getting started t

Banlon Jones 3 Feb 17, 2022
A JavaScript project for the Leaderboard list app, using webpack and ES6 features, notably modules

LEADERBOARD In this activity I am setting up a JavaScript project for the Leaderboard list app, using webpack and ES6 features, notably modules. I wil

Tobin 11 Mar 16, 2022
JavaScript project for the Leaderboard list app, built using webpack and ES6 features.

Leaderboard List App JavaScript project for the Leaderboard list app, built using webpack and ES6 features. The leaderboard website displays scores su

Samuel Mwape 8 Aug 16, 2022
The Leaderboard list app using webpack and ES6 features

Leaderboard Game In this activity I set up a JavaScript project for the Leaderboard list app, using webpack and ES6 features, notably modules. I consu

Ibrohim Rasulov 13 Sep 16, 2022
A simple BookStore Website built with HTML-CSS-JavaScript-ES6.

Awesome Books This project allows users to add/remove books from a list. This is done by using JavaScript ES6. It has the feature to dynamically modif

Mengstu F. 11 May 12, 2022
BookStore websites done with JavaScript-ES6, CSS, HTML

Awesome Books This project allows users to add/remove books from a list. This is done by using JavaScript class. It has the feature to dynamically mod

Mengstu F. 8 Mar 1, 2022
Using ES6 Modules on creating favorite books where we can save our favorit books

Using ES6 Modules on creating favorite books where we can save our favorit books

Sediqullah Badakhsh 13 Dec 1, 2022
Slim Webauthn library with ES6, Node and Deno support.

webauthn NPM: @hexagon\webauthn | Deno.land: webauthn Slim Webauthn library with ES6, Node and Deno support. Heavily based on fido2-lib, but with it's

Hexagon 6 Aug 3, 2022