digital-theory/js/anime-master
2023-04-21 23:27:42 +02:00
..
.github/ISSUE_TEMPLATE display pics and sections content 2023-04-21 23:27:42 +02:00
documentation display pics and sections content 2023-04-21 23:27:42 +02:00
lib display pics and sections content 2023-04-21 23:27:42 +02:00
src display pics and sections content 2023-04-21 23:27:42 +02:00
.gitignore display pics and sections content 2023-04-21 23:27:42 +02:00
bower.json display pics and sections content 2023-04-21 23:27:42 +02:00
build.js display pics and sections content 2023-04-21 23:27:42 +02:00
CNAME display pics and sections content 2023-04-21 23:27:42 +02:00
LICENSE.md display pics and sections content 2023-04-21 23:27:42 +02:00
package.json display pics and sections content 2023-04-21 23:27:42 +02:00
README.md display pics and sections content 2023-04-21 23:27:42 +02:00


anime.js

JavaScript animation engine | animejs.com

npm version npm downloads

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

Getting started

Download

Via npm

$ npm install animejs --save

or manual download.

Usage

ES6 modules

import anime from 'animejs/lib/anime.es.js';

CommonJS

const anime = require('animejs');

File include

Link anime.min.js in your HTML :

<script src="anime.min.js"></script>

Hello world

anime({
  targets: 'div',
  translateX: 250,
  rotate: '1turn',
  backgroundColor: '#FFF',
  duration: 800
});

Documentation

Demos and examples

Browser support

Chrome Safari IE / Edge Firefox Opera
24+ 8+ 11+ 32+ 15+

anime-js-v3-logo

Website | Documentation | Demos and examples | MIT License | © 2019 Julian Garnier.