Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A keyframe animation library for JavaScript

License

NotificationsYou must be signed in to change notification settings

jeremyckahn/rekapi

Repository files navigation

Rekapi is a keyframe animation library for JavaScript. It gives you an APIfor:

  • Defining keyframe-based animations
  • Controlling animation playback

Rekapi is renderer-agnostic. At its core, Rekapi does not perform anyrendering. However, it does expose an API for defining renderers, and comesbundled with renderers for the HTML DOM and HTML5 2D<canvas>.

Browser compatibility

Rekapi officially supports Evergreen browsers.

Installation

npm install --save rekapi

Developing Rekapi

First, install the dependencies via npm like so:

npm install

Once those are installed, you can generatedist/rekapi.js with:

npm run build

To run the tests in CLI:

npm test

To generate the documentation (dist/doc):

npm run doc

To generate, live-update, and view the documentation in your browser:

npm run doc:live

To start a development server:

npm start

Once that's running, you can run the tests athttp://localhost:9010/test/ andview the documentation athttp://localhost:9010/dist/doc/.

Loading Rekapi

Rekapi exposes a UMD module, so you can load it however you like:

// ES6import{Rekapi,Actor}from'rekapi';

Or:

// AMDdefine(['rekapi'],rekapi=>{});

Or even:

// CommonJSconstrekapi=require('rekapi');

Contributors

Take a peek at theNetworkpage to see all of the Rekapi contributors.

License

Rekapi is distributed under theMITlicense. You are encouraged to use andmodify the code to suit your needs, as well as redistribute it.

About

A keyframe animation library for JavaScript

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp