Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/secbone/cabjs
https://github.com/secbone/cabjs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/secbone/cabjs
- Owner: Secbone
- Created: 2014-10-23T14:48:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-02T14:31:44.000Z (almost 9 years ago)
- Last Synced: 2024-11-16T06:52:21.945Z (2 months ago)
- Language: JavaScript
- Size: 3.31 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cabjs
[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![Downloads][downloads-image]][downloads-url]A framework to draw canvas with Babel
## Usage
```
var ret = CabJS.RectClass.extend({
x: 0,
y: 0,
width: 20,
height: 100,
color: "#000",
keyframe: function() {
this.x += 1;
this.y += 0.5;
}
});
CabJS.start("mycanvas");
```## License
MIT
[npm-image]: https://img.shields.io/npm/v/cabjs.svg?style=flat-square
[npm-url]: https://npmjs.org/package/cabjs
[downloads-image]: http://img.shields.io/npm/dm/cabjs.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/cabjs
[travis-image]: https://img.shields.io/travis/Secbone/cabjs.svg?style=flat-square
[travis-url]: https://travis-ci.org/Secbone/cabjs