MCPcopy Index your code
hub / github.com/drawcall/AgileJS

github.com/drawcall/AgileJS @v2.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.0 ↗ · + Follow
785 symbols 1,919 edges 55 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Agile - The Css3 Creation Engine

license Release Version PRs Welcome npm

Agile banner

Using javascript generated pure CSS3

Agile is a simple, fast and easy to use engine which uses javascript generated pure CSS3. Check out examples at http://a-jie.github.io/Agile/

Features

  • Agile uses javascript to generate pure CSS3, without canvas, webGL or SVG.
  • Performant on mobile devices, being truly cross platform.
  • Agile’s API has high similar characteristic with actionscript 3.0, you can learn it in 10 minutes.

Usage

Download the minified library and include it in your html document.

<script src="https://github.com/drawcall/AgileJS/raw/v2.1.0/js/agile.min.js"></script>

Or install using npm

anix

npm install agilejs --save
... 

import Agile from 'agilejs';

Create and move a circle:

//init Agile
Agile.mode = '3d';
var container = new Agile.Container('container');
container.select = false;
container.perspective = 1000;

//create a displayobject
var circle = new Agile.Circle(80, '#ff0000');
circle.x = 100;
circle.y = 120;
container.addChild(circle);

//add a keyframes
var keyframes = new Agile.Keyframes(100, {
    scaleX : .5,
    scaleY : .5
});
circle.addFrame(1, keyframes, {
    yoyo : true,
    loop : -1
}); 

Building Agile

Node is a dependency, use terminal to install it with with:

git clone git://github.com/a-jie/Proton.git
...
npm install
npm run build

and run examples

npm start
//vist http://localhost:3001/examples/

es6 lint

npm run lint

License

LicenseFinder is released under the MIT License. http://www.opensource.org/licenses/mit-license

Core symbols most depended-on inside this repo

apply
called by 320
src/filter/Filter.js
createElement
called by 102
src/display/Dom.js
css
called by 78
src/display/DisplayObject.js
add
called by 68
src/animate/Keyframes.js
render
called by 61
src/display/SpriteSheet.js
addClass
called by 58
src/display/DisplayObject.js
css2
called by 54
src/display/DisplayObject.js
css3
called by 54
src/display/DisplayObject.js

Shape

Function 554
Method 191
Class 40

Languages

TypeScript100%

Modules by API surface

examples/box2d/js/Box2dWeb-2.1.a.3.min.js102 symbols
src/display/DisplayObject.js64 symbols
examples/lib/jquery-1.8.0.min.js60 symbols
examples/lib/zepto.min.js52 symbols
examples/lib/TweenMax.min.js45 symbols
examples/animate/js/TweenMax.min.js45 symbols
examples/movieclip/js/jquery.keyboard.js32 symbols
examples/lib/dat.gui.min.js26 symbols
src/animate/Timeline.js20 symbols
examples/dom/jquery-wp-content/themes/jquery/js/plugins.js18 symbols
examples/dom/jquery-wp-content/themes/jquery/js/modernizr.custom.2.6.2.min.js18 symbols
examples/lib/rainbow.min.js17 symbols

For agents

$ claude mcp add AgileJS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact