Function that assists in writing ASCII art.
https://github.com/YujiSODE/asciiArtAssist
Copyright (c) 2016 Yuji SODE \yuji.sode@gmail.com\
This software is released under the MIT License.
See LICENSE or http://opensource.org/licenses/mit-license.php
This function generates simple text editor with a given image background to trace.
Script
asciiArtAssist.js
Activating textarea
var x=asciiArtAssist(src,size,color,bgColor);
Parameters
src
: filename or pathname of an image; 'none'
is default valuesize
: font size of a character that is available in font-size CSS property
; 'inherit'
is default valuecolor
: color of a character that is available in color CSS property
; '#fff'
is default valuebgColor
: background color that is available in background-color CSS property
; '#000'
is default valueValue of textarea
x();
Closing textarea
x.close();