Quick helper lib to generate AR Markers ID Patterns from 0 to 99 directly on a <canvas> without needing images
<!-- in your .html file -->
<canvas width="300" height="300" cross-origin=""></canvas>
<script src="quickMarkerIdPattern.js"></script>
/* needed javascript */
var cnvs = document.querySelector('canvas');
var ctx = cnvs.getContext('2d');
quickMarkerIdPattern(ctx, 99); // where 99 can be [0..99] ( for now ? .. )
See the index.html file for a quick example
Interested ? See how I got those .. ;p
.. in other words, back & forth ( .. )
ps: if someone is kind enough to provide me the corresponding Hamming code, I'd be happy to implement it as well for HTML5 canvas ( so long .swf utility .. )