Skip to content

welby1/anime

This branch is 133 commits behind juliangarnier/anime:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 9, 2019
Jan 17, 2019
Jan 17, 2019
Jan 17, 2019
Dec 28, 2016
May 31, 2017
Jan 8, 2019
Jan 12, 2019
Jan 8, 2019
Jul 24, 2018
Jan 17, 2019

Repository files navigation


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 'lib/anime.es.js';

CommonJS

const anime = require('lib/anime.js');

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
});

Browser support

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

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

About

JavaScript animation engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%