# properjs-tween

> A simple tween class using request animation frame.

Latest version **0.2.0** (published 2015-08-27) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install properjs-tween
pnpm add properjs-tween
yarn add properjs-tween
bun add properjs-tween
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2015-08-27 |
| First published | 2014-11-21 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | kitajchuk |
| Keywords | properjs, easing, tween, animation |

## Links

- npm: https://www.npmjs.com/package/properjs-tween
- Repository: https://github.com/ProperJS/Tween
- Issues: https://github.com/ProperJS/Tween/issues
- npm.io page: https://npm.io/package/properjs-tween

## Dependencies (1)

- [properjs-easing](https://npm.io/package/properjs-easing.md) ~0.2

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 0.2.0 (latest) — 2015-08-27
- 0.1.4 — 2015-01-10
- 0.1.3 — 2014-11-26
- 0.1.2 — 2014-11-25
- 0.1.1 — 2014-11-25
- 0.1.0 — 2014-11-21

## README

Tween
=====

> A simple tween class using request animation frame. For when just a simple animation utility will do, which is most times :)



## Installation
```shell
npm install properjs-tween --save-dev
```


## Usage
```javascript
var Tween = require( "properjs-tween" );
var tween = new Tween({
    from: 0,
    to: 500,
    update: function ( t ) {
        // Update stuff here
    },
    complete: function ( t ) {
        // Animation all done !
    },
    ease: Easing.easeInOutQuad,
    delay: 0
});
```

---
_Source: https://npm.io/package/properjs-tween · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
