Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

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");

About

Simple javascript HTML5 canvas implementation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published