Giter VIP home page Giter VIP logo

agile's Introduction

Agile

Using javascript generated pure CSS3

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

Features

  • Agile uses javascript to generate pure CSS3. No canvas no webGL no svg.
  • In mobile devices Agile's performance is perfect ,It really can cross platform.
  • Agile’s API has high similar characteristic with actionscript3.0, you can learn it in 10 minites.

Usage

Download the minified library and include it in your html.

<script src="js/agile.min.js"></script>

This code will create a circle and make it moving.

//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/Agile.git
Then navigate to the build directory by running:
cd ./build
Finally run the build command:
node build.js

License

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

agile's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.