Skip to content

Quick helper lib to generate AR Markers ID Patterns from 1 to 99 directly on a <canvas> without needing images

License

Notifications You must be signed in to change notification settings

stephaneAG/AR-Quick-Marker-ID-Patterns

Repository files navigation

AR-Quick-Marker-ID-Patterns

Quick helper lib to generate AR Markers ID Patterns from 0 to 99 directly on a <canvas> without needing images

Usage & Demo

Online Demo

<!-- 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

How ?

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 .. )

About

Quick helper lib to generate AR Markers ID Patterns from 1 to 99 directly on a <canvas> without needing images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published