* Move src under playlet-lib * Update configuration * Update script * Update script * Working version * Vs code config WIP * Package lock sync * Lint fix * Fix images * Reuse config files * Kind of a working setup * Lock node version * Rename scripts to tools * Fix build scripts, lib url system * Lint fix * rale * Fix args and web server * Load fallbacks and build script cleanups * Remove unused method * no message * no message * Remove generic message field * Lint fix * no message * Use loading indicator on main app * Add playlet lib version to settings --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
80 lines
7.9 KiB
Plaintext
80 lines
7.9 KiB
Plaintext
sub init()
|
|
m.top.typeNumber = -1
|
|
m.top.errorCorrectionLevel = "M"
|
|
|
|
m.top.sourceText = "http://www.example.com/ążśźęćńół"
|
|
|
|
m.top.correctHalfWidth = [
|
|
"█████████████████████████████████",
|
|
"██ ▄▄▄▄▄ █ ▄█▀▄██ ▀▄ ▄██ ▄▄▄▄▄ ██",
|
|
"██ █ █ █▀ █▀▄█▀▀█▄▄ ▄█ █ █ ██",
|
|
"██ █▄▄▄█ ███ ▀ █▄▀▄▄▀ ▀█ █▄▄▄█ ██",
|
|
"██▄▄▄▄▄▄▄█ ▀▄█▄▀▄▀ █▄▀▄█▄▄▄▄▄▄▄██",
|
|
"██▄█ ▀▄▄▄█▄▄█▀█▀▀▄█▀▀▀█ ▀▀▄█▄ ██",
|
|
"██▀▀▄▀▄█▄█ ▄▄█▄ ▄█ ███ ▀█▀▄▄▀██",
|
|
"██ ▄▀█▄▀▄ ▄▀▄ █ ▄▀▀█▀██▀██▄▄▀▀██",
|
|
"██ █▀ ▄▄▀▀ ▀█ █▀▄ ▀█▄▀▄▄▄ ▄██",
|
|
"██▄██ ▄▄▄▄▄█ ▀▄▄ ▀▀▄▄▄█▄▄█▀ ███",
|
|
"██▄█▄██▄▄▄ █ █▄▄▀█▀███▄▀▄▄█▄ ████",
|
|
"███▄▄██▄▄▄ ▀▀▄█ █▀ █ ▄ ▄▄▄ ▀▀██",
|
|
"██ ▄▄▄▄▄ █ █ ▀█▄█ ▀ ▄ █▄█ ▄█ ▀██",
|
|
"██ █ █ █▀▄▄ ▄▀ ▀▄█ █ ▄▄ ▄ ██",
|
|
"██ █▄▄▄█ █▄█▄▀█ ▀ ▀ ██ █ █▀▄▀▄██",
|
|
"██▄▄▄▄▄▄▄█▄▄█▄█▄███▄▄▄▄████▄█▄███",
|
|
"▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀",].join(chr(10))
|
|
|
|
m.top.correctHalfWidthWithoutBorder = [
|
|
" ▄▄▄▄▄ █ ▄█▀▄██ ▀▄ ▄██ ▄▄▄▄▄ ",
|
|
" █ █ █▀ █▀▄█▀▀█▄▄ ▄█ █ █ ",
|
|
" █▄▄▄█ ███ ▀ █▄▀▄▄▀ ▀█ █▄▄▄█ ",
|
|
"▄▄▄▄▄▄▄█ ▀▄█▄▀▄▀ █▄▀▄█▄▄▄▄▄▄▄",
|
|
"▄█ ▀▄▄▄█▄▄█▀█▀▀▄█▀▀▀█ ▀▀▄█▄ ",
|
|
"▀▀▄▀▄█▄█ ▄▄█▄ ▄█ ███ ▀█▀▄▄▀",
|
|
" ▄▀█▄▀▄ ▄▀▄ █ ▄▀▀█▀██▀██▄▄▀▀",
|
|
" █▀ ▄▄▀▀ ▀█ █▀▄ ▀█▄▀▄▄▄ ▄",
|
|
"▄██ ▄▄▄▄▄█ ▀▄▄ ▀▀▄▄▄█▄▄█▀ █",
|
|
"▄█▄██▄▄▄ █ █▄▄▀█▀███▄▀▄▄█▄ ██",
|
|
"█▄▄██▄▄▄ ▀▀▄█ █▀ █ ▄ ▄▄▄ ▀▀",
|
|
" ▄▄▄▄▄ █ █ ▀█▄█ ▀ ▄ █▄█ ▄█ ▀",
|
|
" █ █ █▀▄▄ ▄▀ ▀▄█ █ ▄▄ ▄ ",
|
|
" █▄▄▄█ █▄█▄▀█ ▀ ▀ ██ █ █▀▄▀▄",
|
|
" ▀ ▀ ▀ ▀▀▀ ▀▀▀▀ ▀ ▀",].join(chr(10))
|
|
|
|
m.top.correctFullWidth = [
|
|
"██████████████████████████████████████████████████████████████████",
|
|
"██████████████████████████████████████████████████████████████████",
|
|
"████ ██ ████ ████ ██ ████ ████",
|
|
"████ ██████████ ██ ████ ██████ ██ ██████ ██████████ ████",
|
|
"████ ██ ██ ████ ████ ████████ ██ ██ ██ ████",
|
|
"████ ██ ██ ██ ██ ████ ██████ ████ ██ ██ ████",
|
|
"████ ██ ██ ██████ ██ ██ ██ ██ ████ ██ ██ ████",
|
|
"████ ██████████ ██████ ████ ████ ██ ██████████ ████",
|
|
"████ ██ ██ ██ ██ ██ ██ ██ ██ ████",
|
|
"████████████████████ ██████ ██ ████ ██████████████████████",
|
|
"████ ██ ██ ██ ██████████ ██████████ ████ ██ ████",
|
|
"████████ ██████████████ ██ ████ ██ ██████ ████",
|
|
"████████ ██ ██ ██ ██ ██ ██████ ██████ ██████",
|
|
"████ ██ ████████ ████████ ████ ██████ ██ ████ ████",
|
|
"████ ████ ██ ██ ██ ██████████████████ ████████",
|
|
"████ ██ ████ ██ ██ ██ ██ ██ ██ ████ ████████ ████",
|
|
"████ ████ ████ ████ ████ ████ ██ ████",
|
|
"████ ██ ████ ██ ██ ██ ████ ██████ ██████",
|
|
"████ ████ ██ ██ ████ ██ ████ ██████",
|
|
"██████████ ████████████ ████ ██████████████ ██████",
|
|
"████ ██ ████ ██ ██ ████████████ ██ ██ ████████",
|
|
"████████████████████ ██ ██████ ██ ████████ ████████ ████████",
|
|
"██████ ████ ████ ██ ████ ██ ████████",
|
|
"████████████████████ ████ ██ ██ ██ ██████ ████",
|
|
"████ ██ ██ ████ ██ ██ ██ ██ ██ ██████",
|
|
"████ ██████████ ██ ██ ██████ ██ ██████ ████ ████",
|
|
"████ ██ ██ ████ ██ ██ ██ ██ ████",
|
|
"████ ██ ██ ██ ████ ██ ████ ██ ████ ██ ████",
|
|
"████ ██ ██ ██ ██ ████ ██ ██ ████ ██ ████ ██ ████",
|
|
"████ ██████████ ████████ ██ ████ ██ ██ ██ ██████",
|
|
"████ ██ ██ ██ ██████ ████████ ██ ██████",
|
|
"██████████████████████████████████████████████████████████████████",
|
|
"██████████████████████████████████████████████████████████████████",].join(chr(10))
|
|
|
|
addData(m.top.sourceText)
|
|
make()
|
|
end sub |