jQuery Based Image Video To ASCII Art Converter abc js - Download jQuery Based Image/Video To ASCII Art Converter - abc.js

Download jQuery Based Image/Video To ASCII Art Converter – abc.js

Posted on

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.

jQuery Based Image Video To ASCII Art Converter abc js - Download jQuery Based Image/Video To ASCII Art Converter - abc.js
File Size: 1.35 MB
Views Total: 1215
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

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.

1 $('img').abc();

3. If you want to apply the plugin to an HTML5 video:

1 $('video').abc().get(0).play();

4. Default plugin settings.

01 $('img').abc({
02  
03   // letters used, dark to light
04   letters : 'XMI/-.',
05  
06   // invert the letters if light text is used on a dark background
07   invert : false,
08  
09   // FPS
10   fps: 25
11    
12 });

This awesome jQuery plugin is developed by m90. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net