Download oCanvas

Source files

To use oCanvas in your projects, just download the file from here. The production version is minified, which is great for production, but for development you might want the uncompressed source to easily find errors in your code.

Current release: 2.8.6

Production 20 kB minified & gzipped
Development 182 kB full source

For the complete source separated into modules, check out the GitHub page.

npm

You can install oCanvas from npm:

npm install --save ocanvas

In your code, import oCanvas like this:

// ES2015
import oCanvas from 'ocanvas';

// CommonJS
var oCanvas = require('ocanvas');

CDN hosted

oCanvas is also hosted at cdnJS. Using a CDN hosted version is a good idea, because of faster loading times and good caching.

To use the hosted version, just include this in your page:
<script src="http://cdnjs.cloudflare.com/ajax/libs/ocanvas/2.8.6/ocanvas.min.js"></script>

Note: Please do not hotlink directly to the files hosted on ocanvas.org. Either link to the CDN version, or download local copies.

Bug reporting

Errors might happen, and they can sometimes point to the oCanvas source. Most often it is because of bad input data, and by using the development version of oCanvas you can see what part of oCanvas that gets an error, and that can make it easier for you to spot your error. If you really think you've found a bug in oCanvas, please report the issue on GitHub.

Browser support

oCanvas should work in most modern browsers with canvas support. With the release of version 2.0.0, Internet Explorer 9 and above is also supported. Touch devices such as iPhone and iPad are also supported. Android devices will probably work, but are not tested.

Changelog

oCanvas 2.8.6 | 2016-10-23 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.8.5 | 2016-07-22 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.8.4 | 2016-04-22 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.8.3 | 2015-12-06 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.8.2 | 2015-12-03 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.8.1 | 2015-08-25 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.8.0 | 2015-08-24 | Download: Production or Development or CDN

New features

oCanvas 2.7.5 | 2015-08-19 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.7.4 | 2015-05-29 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.7.3 | 2014-07-16 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.7.2 | 2014-06-18 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.7.1 | 2014-05-04 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.7.0 | 2014-05-03 | Download: Production or Development or CDN

New features

Bug fixes

oCanvas 2.6.0 | 2014-02-22 | Download: Production or Development or CDN

New features

oCanvas 2.5.1 | 2013-09-17 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.5.0 | 2013-09-15 | Download: Production or Development or CDN

New features

Bug fixes

oCanvas 2.4.1 | 2013-09-14 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.4.0 | 2013-02-19 | Download: Production or Development or CDN

New features

Bug fixes

oCanvas 2.3.1 | 2013-01-13 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.3.0 | 2013-01-13 | Download: Production or Development or CDN

New features

Bug fixes

oCanvas 2.2.2 | 2012-10-15 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.2.1 | 2012-08-03 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.2.0 | 2012-07-20 | Download: Production or Development or CDN

New features

Bug fixes

Deprecated features

oCanvas 2.1.1 | 2012-04-29 | Download: Production or Development or CDN

Bug fixes

oCanvas 2.1.0 | 2012-04-01 | Download: Production or Development or CDN

New features

Bug fixes

Deprecated features

oCanvas 2.0.0 | 2012-02-21 | Download: Production or Development or CDN

New features

Bug fixes

oCanvas 1.0.0 | 2011-03-19 | Download: Production or Development or CDN