Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drawcall/AgileJS
AgileJS - The Css3 Creation Engine πππ
https://github.com/drawcall/AgileJS
animation css-animations css-framework css-games css3 css3-animations css3-engine game-framework html5-css3
Last synced: 3 days ago
JSON representation
AgileJS - The Css3 Creation Engine πππ
- Host: GitHub
- URL: https://github.com/drawcall/AgileJS
- Owner: drawcall
- License: mit
- Created: 2014-02-26T04:24:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-18T08:28:41.000Z (almost 3 years ago)
- Last Synced: 2024-08-02T08:07:37.254Z (3 months ago)
- Topics: animation, css-animations, css-framework, css-games, css3, css3-animations, css3-engine, game-framework, html5-css3
- Language: JavaScript
- Homepage: http://drawcall.github.io/AgileJS/
- Size: 11.9 MB
- Stars: 498
- Watchers: 35
- Forks: 63
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AgileJS - The Css3 Creation Engine
======[![license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](./LICENSE)
[![Release Version](https://img.shields.io/badge/release-2.2.0-red.svg)](https://github.com/drawcall/Agilejs/releases)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/drawcall/Agile/pulls)
[![npm](https://img.shields.io/badge/npm-2.2.0-brightgreen.svg)](https://www.npmjs.com/package/agilejs)![Agile banner](https://github.com/drawcall/AgileJS/blob/master/image/banner.png?raw=true)
## Using javascript generated pure CSS3
AgileJS is a simple, fast and easy to use engine which uses javascript generated pure CSS3.
Check out examples at [http://drawcall.github.io/AgileJS/](http://drawcall.github.io/AgileJS/)## Features
- AgileJS uses javascript to generate pure CSS3, without canvas, webGL or SVG.
- Performant on mobile devices, being truly cross platform.
- AgileJSβs API has high similar characteristic with actionscript 3.0, you can learn it in 10 minutes.## Usage
#### Download the [minified library](https://github.com/drawcall/Agile/blob/master/build/agile.min.js) and include it in your html document.```html
```
#### Or install using npm
[![anix](https://nodei.co/npm/agilejs.png)](https://npmjs.org/package/agilejs)```shell
npm install agilejs --save
...import Agile from 'agilejs';
```#### Create and move a circle:
```javascript
//init AgileJS
Agile.mode = '3d';
const container = new Agile.Container('container');
container.select = false;
container.perspective = 1000;//create a displayobject
const circle = new Agile.Circle(80, '#ff0000');
circle.x = 100;
circle.y = 120;
container.addChild(circle);//add a keyframes
const keyframes = new Agile.Keyframes(100, {
scaleX : .5,
scaleY : .5
});circle.addFrame(1, keyframes, {
yoyo : true,
loop : -1
});
```## Building AgileJS
Node is a dependency, use terminal to install it with with:```javascript
git clone git://github.com/drawcall/AgileJS.git
...
npm install
npm run build
```and run examples
```javascript
npm start
//vist http://localhost:3001/examples/
```es6 lint
```javascript
npm run lint
```## License
LicenseFinder is released under the MIT License. http://www.opensource.org/licenses/mit-license