Anime.js

JavaScript Animation Engine

Github星跟踪图

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+, ##

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

主要指标

概览
名称与所有者juliangarnier/anime
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2016-03-13 21:37:45
推送于2025-04-25 07:02:57
最后一次提交2025-04-25 08:50:36
发布数20
最新版本名称v4.0.2 (发布于 )
第一版名称v1.0 (发布于 )
用户参与
星数61k
关注者数767
派生数4.1k
提交数801
已启用问题?
问题数761
打开的问题数80
拉请求数74
打开的拉请求数0
关闭的拉请求数95
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?