Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juliangarnier/anime
JavaScript animation engine
https://github.com/juliangarnier/anime
animation anime canvas css javascript javascript-library svg
Last synced: 3 days ago
JSON representation
JavaScript animation engine
- Host: GitHub
- URL: https://github.com/juliangarnier/anime
- Owner: juliangarnier
- License: mit
- Created: 2016-03-13T21:37:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-10T08:45:21.000Z (about 1 month ago)
- Last Synced: 2024-12-01T02:44:04.439Z (11 days ago)
- Topics: animation, anime, canvas, css, javascript, javascript-library, svg
- Language: JavaScript
- Homepage: https://animejs.com
- Size: 47 MB
- Stars: 50,453
- Watchers: 751
- Forks: 3,684
- Open Issues: 231
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- awesome-frontend - anime.js - JavaScript animation engine. ![](https://img.shields.io/github/stars/juliangarnier/anime.svg?style=social&label=Star) (Repository / Animation)
- awesome-frontend-lib - anime.js
- my-awesome-starred - juliangarnier/anime - JavaScript animation engine (JavaScript)
- awesome-repositories - juliangarnier/anime - JavaScript animation engine (JavaScript)
- awesome-starred - anime - JavaScript animation engine (JavaScript)
- awesome-github-star - anime
- awesome-list - anime
- awesome-starts - juliangarnier/anime - JavaScript animation engine (JavaScript)
- awesome - juliangarnier/anime - JavaScript animation engine (JavaScript)
- awesome-list - anime
- StarryDivineSky - juliangarnier/anime
- awesome-web-animation - Anime.js - JavaScript animation engine. (Common)
- awesome-star-libs - juliangarnier / anime
- awesome-frontend-libraries - animejs
- stars - juliangarnier/anime - JavaScript animation engine \[*MIT License*\] (⭐️50453) (JavaScript)
- stars - juliangarnier/anime - JavaScript animation engine \[*MIT License*\] (⭐️50345) (JavaScript)
- awesome - juliangarnier/anime - JavaScript animation engine (JavaScript)
- awesome - juliangarnier/anime - JavaScript animation engine (JavaScript)
README
> [!IMPORTANT]
> ## 🎉 Anime.js V4 is now available in early access 🎉
>
> After years in the making, Anime.js V4 is finally available in early access for my **[GitHub Sponsors](https://github.com/sponsors/juliangarnier)**!
anime.jsJavaScript animation engine | animejs.com
Anime.js (/ˈæn.ə.meɪ/
) is a lightweight JavaScript animation library with a simple, yet powerful API.
It works with CSS properties, SVG, DOM attributes and JavaScript Objects.
Getting started | Documentation | Demos and examples | Browser support## Powered by
## Getting started
### Download
Via npm
```bash
$ npm install animejs --save
```or manual [download](https://github.com/juliangarnier/anime/archive/master.zip).
### Usage
#### ES6 modules
```javascript
import anime from 'animejs/lib/anime.es.js';
```#### CommonJS
```javascript
const anime = require('animejs');
```#### File include
Link `anime.min.js` in your HTML :
```html
```
### Hello world
```javascript
anime({
targets: 'div',
translateX: 250,
rotate: '1turn',
backgroundColor: '#FFF',
duration: 800
});
```## [Documentation](https://animejs.com/documentation/)
* [Targets](https://animejs.com/documentation/#cssSelector)
* [Properties](https://animejs.com/documentation/#cssProperties)
* [Property parameters](https://animejs.com/documentation/#duration)
* [Animation parameters](https://animejs.com/documentation/#direction)
* [Values](https://animejs.com/documentation/#unitlessValue)
* [Keyframes](https://animejs.com/documentation/#animationKeyframes)
* [Staggering](https://animejs.com/documentation/#staggeringBasics)
* [Timeline](https://animejs.com/documentation/#timelineBasics)
* [Controls](https://animejs.com/documentation/#playPause)
* [Callbacks and promises](https://animejs.com/documentation/#update)
* [SVG Animations](https://animejs.com/documentation/#motionPath)
* [Easing functions](https://animejs.com/documentation/#linearEasing)
* [Helpers](https://animejs.com/documentation/#remove)## [Demos and examples](http://codepen.io/collection/b392d3a52d6abf5b8d9fda4e4cab61ab/)
* [CodePen demos and examples](http://codepen.io/collection/b392d3a52d6abf5b8d9fda4e4cab61ab/)
* [juliangarnier.com](http://juliangarnier.com)
* [animejs.com](https://animejs.com)
* [Moving letters](http://tobiasahlin.com/moving-letters/) by [@tobiasahlin](https://twitter.com/tobiasahlin)
* [Gradient topography animation](https://tympanus.net/Development/GradientTopographyAnimation/) by [@crnacura](https://twitter.com/crnacura)
* [Organic shape animations](https://tympanus.net/Development/OrganicShapeAnimations/) by [@crnacura](https://twitter.com/crnacura)
* [Pieces slider](https://tympanus.net/Tutorials/PiecesSlider/) by [@lmgonzalves](https://twitter.com/lmgonzalves)
* [Staggering animations](https://codepen.io/juliangarnier/pen/4fe31bbe8579a256e828cd4d48c86182?editors=0100)
* [Easings animations](https://codepen.io/juliangarnier/pen/444ed909fd5de38e3a77cc6e95fc1884)
* [Sphere animation](https://codepen.io/juliangarnier/pen/b3bb8ca599ad0f9d00dd044e56cbdea5?editors=0010)
* [Layered animations](https://codepen.io/juliangarnier/pen/6ca836535cbea42157d1b8d56d00be84?editors=0010)
* [anime.js logo animation](https://codepen.io/juliangarnier/pen/d43e8ec355c30871cbe775193255d6f6?editors=0010)## Browser support
| Chrome | Safari | IE / Edge | Firefox | Opera |
| --- | --- | --- | --- | --- |
| 24+ | 8+ | 11+ | 32+ | 15+ |[Website](https://animejs.com/) | [Documentation](https://animejs.com/documentation/) | [Demos and examples](http://codepen.io/collection/b392d3a52d6abf5b8d9fda4e4cab61ab/) | [MIT License](LICENSE.md) | © 2019 [Julian Garnier](http://juliangarnier.com).