Function that assists in writing ASCII art.
https://github.com/YujiSODE/asciiArtAssist
Copyright (c) 2016 Yuji SODE <[email protected]>
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.
asciiArtAssist.js
-
Activating textarea
var x=asciiArtAssist(src,size,color,bgColor);
Parameterssrc
: filename or pathname of an image;'none'
is default valuesize
: font size of a character that is available infont-size CSS property
;'inherit'
is default valuecolor
: color of a character that is available incolor CSS property
;'#fff'
is default valuebgColor
: background color that is available inbackground-color CSS property
;'#000'
is default value
-
Value of textarea
x();
-
Closing textarea
x.close();
- Mozilla and individual contributors. 2005-2017. background-color - CSS | MDN. MDN Web Docs. derived on [2017-10-01] from: https://developer.mozilla.org/en-US/docs/Web/CSS/background-color
- Mozilla and individual contributors. 2005-2017. color - CSS | MDN. MDN Web Docs. derived on [2017-10-01] from: https://developer.mozilla.org/en-US/docs/Web/CSS/color
- Mozilla and individual contributors. 2005-2017. font-size - CSS | MDN. MDN Web Docs. derived on [2017-10-01] from: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size