This time I will share jQuery Plugin and tutorial about jQuery Based Image/Video To ASCII Art Converter – abc.js, hope it will help you in programming stack.
abc.js is a jQuery based ASCII Art Generator/Converter which converts the normal images (and even html5 videos) into ASCII text art using HTML5 Canvas 2D API.
How to use it:
1. The jQuery abc.is plugin must be included after jQuery library.
1 |
< script src = "//code.jquery.com/jquery.min.js" ></ script > |
2 |
< script src = "jquery.abc.js" ></ script > |
2. Call the function to convert a matched image into ASCII text.
3. If you want to apply the plugin to an HTML5 video:
1 |
$( 'video' ).abc().get(0).play(); |
4. Default plugin settings.
This awesome jQuery plugin is developed by m90. For more Advanced Usages, please check the demo page or visit the official website.