https://github.com/astynax/elm-charart
A small set of combinators for the ASCII-Art generation.
https://github.com/astynax/elm-charart
ascii-art combinators elm-lang
Last synced: 11 months ago
JSON representation
A small set of combinators for the ASCII-Art generation.
- Host: GitHub
- URL: https://github.com/astynax/elm-charart
- Owner: astynax
- Created: 2021-09-16T15:32:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-18T07:37:09.000Z (over 4 years ago)
- Last Synced: 2025-02-15T02:30:51.474Z (about 1 year ago)
- Topics: ascii-art, combinators, elm-lang
- Language: Elm
- Homepage: https://astynax.github.io/elm-charart/
- Size: 29.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elm-charart
Here you can find a small set of combinators those can generate and colorize the ASCII Art patterns.
A typical pattern looks like this one ([more examples in colour](https://astynax.github.io/elm-charart/)):
```text
.. .. .. .. .. .... ..//\\.. .. .. ..
** ** ** ** ** ** \\// ** ** ** **
.. .. .. .. .. .. .. //\\ .. ..
.. .. .. .. .. .... .. **\\//.. .. ..
** ** ** ** ** //\\.. .. .. ** ** **
.. .. .. .. .. \\// ** ** .. ..
.. .. .. .. .. .... //\\ .. .. .. ..
** ** ** ** ** **\\//.. .. ** ** **
.. .. .. .. .. .. .. .. .. ..//\\..
.. .. .. .. .. .. ** ** ** ** \\// **
** ** ** ** ** .. .. .. .. //\\
.. .. .. .. .. .. .. .. .. .. **\\//
.. .. .. .. .. .. ** ** **//\\.. .. ..
** ** ** ** ** .. .. \\// ** **
.. .. .. .. .. .. .. .. .. //\\ ..
.. .. .. .. .. .. ** ** ** **\\//.. ..
.. ..//\\.. .. .. .. .. .. .. .. .. ..
** \\// ** ** ** ** ** ** ** ** **
.. .. //\\ .. .. .. .. .. .. ..
.. .. **\\//.. .. .. .. .. .. .. .. ..
//\\.. .. .. ** ** ** ** ** ** ** **
\\// ** ** .. .. .. .. .. .. ..
.. //\\ .. .. .. .. .. .. .. .. .. ..
**\\//.. .. ** ** ** ** ** ** ** **
.. .. .. .. ..//\\.. .. .. .. .. ..
** ** ** ** \\// **.. .. .. .. .. ..
.. .. .. .. //\\ ** ** ** ** **
.. .. .. .. .. **\\// .. .. .. .. ..
** ** **//\\.. .. .... .. .. .. .. ..
.. .. \\// ** ** ** ** ** ** **
.. .. .. .. //\\ .. .. .. .. .. ..
** ** ** **\\//.. .... .. .. .. .. ..
```