Cross-browser drawing board based on
Raphaël JavaScript Vector Library
RaphBoard is on-line cross-browser drawing board ("whiteboard", "blackboard", "greenboard",...) that uses HTML5 Canvas and JavaScript instead of Flash.
What would you say, how much programming is needed to put such drawing board on your site? Well, how about this much:
$( "#board" ).RaphBoard();
Yap. Neat, huh?
Actually, it does take a little more than that, but not much more:
raphael-min.js
and jquery.raphboard.min.js
to your site<script src="jquery.min.js"></script>
<script src="raphael-min.js"></script>
<script src="jquery.raphboard.min.js"></script>
<style>
#board {
width: 650px;
height: 380px;
background-color: black;
}
</styl>
<div id="board"></div>
<script type="text/javascript">
$( document ).ready( function( $ ) {
$( "#board" ).RaphBoard();
});
</script>
That's it!
The board at the top of this page is fully functional RaphBoard! Go on, give it some swindle.
If you'd rather pull the hood up, fiddle with the valves and mess around with grease, then check out the service manual.
Right! Then zoom to playground and nock yourself out!
Made possible by @DmitryBaranovskiy. Thank you, Dmitry!
Created by @MiroHibler.
Oh noes?! Having trouble with RaphBoard? Rush to the forum and we’ll try to help you sort it out.
Copyright © 2012-2013 Miroslav Hibler. Licensed by MIT license.