JS canvas library
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
Core
Docs Docs changes Jul 20, 2017
Math Changes Jul 20, 2017
More Small changes Jul 18, 2016
Phys
WebGL
src Express server was installed Aug 29, 2017
.gitignore Small changes Jul 18, 2016
.jshintrc Graphics2D 2.0 wip! :) Apr 19, 2015
Gruntfile.js Grunt watch is fixed in the gruntfile Aug 30, 2017
LICENSE Create LICENSE Oct 30, 2017
README.md Update README.md Oct 30, 2017
bower.json 0.9.1 version Jan 27, 2015
demos.js Noname commit Nov 30, 2017
graphics2d.js Noname commit Nov 30, 2017
graphics2d.min.js Noname commit Nov 30, 2017
graphics2d.more.js Noname commit Nov 30, 2017
graphics2d.more.min.js The final version of isPointIn & bounds #44 & other changes Aug 21, 2017
package-lock.json
package.json Express server was installed Aug 29, 2017

README.md

Graphics2D JavaScript Library

Note: Graphics2D 2.0 will be renamed to DeltaJS.

Graphics2D is a javascript library available under the MIT License.

Some modules are released under the LGPL License.

Install with bower

bower install graphics2d

Or use as a script

Just download graphics2d.min.js, put into your project folder and attach to your page:

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

Then use

<canvas id="cnv" width="600" height="400"></canvas> 
var ctx = Delta.query('#cnv');

// draw a red rect
ctx.rect({
    x: 100,
    y: 100,
    width: 50,
    height: 50,
    fill: 'red'
});

Documentation

Russian

English

Examples

Sandbox