Skip to content
Simple javascript HTML5 canvas implementation
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples
src
LICENSE
README.md

README.md

kodeboard

Simple javascript HTML5 canvas implementation

Include kodeboard.js in your HTML file.

<script src="../src/kodeboard.js" type="text/javascript"></script>

Create a new KodeBoard

Within document.body

<script type="text/javascript">
var kb = new KodeBoard();
</script>

Or

Within your own div or container

Create your container

<div id="container-1" class="container"></div>

Create your KodeBoard

<script type="text/javascript">
var kb = new KodeBoard({"container":"container-1"});
</script>

Canvas can now be accessed as follows:

var context = kb.canvas.getContext("2d");
You can’t perform that action at this time.