https://mrogalski.eu/ansi-art/ Strona domowa Marka Rogalskiego Marek Rogalski's Home Page [lang][svg] * ANSIArtANSIArt 2022-08-03 * Kalkulator podzialu czynszuRent share calculator 2016-08-31 * Kalkulator wartosci wolnego czasuFree time value calculator 2015-07-15 * Affinity PropagationAffinity Propagation 2015-06-14 * Getting Things Done (w skrocie)Getting Things Done (in a nutshell) [PL] 2014-08-02 * Obrazy WykonywalneImage Executable 2014-04-19 * GLSLGLSL 2014-04-10 * Stara stronaOld webpage 2014-02-18 * Crypto LotteryCrypto Lottery 2014-02-13 * Dvorak Programisty w Konsoli LinuksaProgrammer Dvorak in Linux Console 2014-02-12 * ClearlyClearly 2013-11-24 * DessinDessin 2013-10-01 * Wtyczki do ChromeChrome Plugins 2013-09-16 * Domeny KoordynatoweGeo-Coord-Domains 2013-09-07 * Wprowadzenie do FreebaseFreebase introduction [PL] 2013-07-29 * Generator Tekstow wg. Lancucha MarkowaText Generator Using Markov Chains 2012-12-24 --------------------------------------------------------------------- * GitHub: @mafik * mafikpl@gmail.com ANSIArt Original ANSI Art is typically limited to 16 colors and the character set used by the original IBM PC. ANSI Art ogranicza sie zwykle do 16 kolorow oraz zestawu znakow z oryginalnego IBM PC. Times have changed. Modern terminal emulators support 24-bit RGB colors & can display arbitrary Unicode characters. This opens entirely new possibilities for the art that can be displayed in the terminal. Czasy sie zmienily. Wspolczesne terminale obsluguja 24-bitowy kolor i moga wyswietlac dowolne znaki Unikodu. Otwiera to zupelnie nowe mozliwosci dla ANSI Artu wyswietlanego w terminalu. Let's call this 24-bit, Unicode-capable version of ANSI Art, an ANSIArt (pronounced just like a regular ANSI Art, although with a sound of blazing fire in the background). Nazwijmy ten 24-bitowy, Unikodowy ANSI Art jako ANSIArt (wymawiane jak zwykly ANSI Art, ale z odglosem plomieni w tle). ANSIArt can be used in the output of interactive CLI commands, SSH MOTD, an element of a ncurses interface or even for animation. ANSIArt moze zostac wykorzystany na wyjsciu interaktywnych polecen terminala, jako MOTD w SSH, jako element interfejsu ncurses lub nawet jako element animacji. Here are some examples of what can be achieved: Oto kilka przykladow co mozna osiagnac: [sample1][sample2][sample3][sample4] This website allows you to render a regular image as an ANSIArt. Just drop your image / TTF font of choice onto this webpage & click the Render button below. Ponizsza strona pozwala na konwersje dowolnego obrazu na ANSIArt. Przeciagnij wybrany obraz / czcionke TTF na ta strone, a nastepnie kliknij przycisk Renderuj ponizej. For those, who know how to git pull & push, there is also a C++ library for rendering ANSIArt. Dla tych, ktorzy wiedza co to git pull i push, dostepna jest takze biblioteka C++ do renderowania ANSIArt-u. --------------------------------------------------------------------- 1. Image selection 1. Wybor obrazu You can drop an image anywhere on this page or open an image by clicking the button below. Mozesz upuscic obraz gdziekolwiek na tej stronie. Alternatywnie mozesz tez kliknac przycisk "Wybierz plik" ponizej. [sample] [ ] 2. Font selection 2. Wybor czcionki You can drop a TTF file anywhere on this page. Alternatively click the button below to open a TTF file. Podobnie jak z obrazem, czcionke TTF mozesz zwyczajnie przeciagnac na strone. Alternatywnie mozesz tez kliknac przycisk "Wybierz plik" ponizej. Various fonts offer different character support. They also have different glyphs & aspect ratio. For optimal results upload the TTF file of the font used to display the ANSI Art. By default Julia Mono will be used. Rozne czcionki obsluguja nieco inne zestawy znakow. Roznia sie tez (oczywiscie) ksztaltem znakow oraz wysokoscia linii. Dla optymalnych rezultatow, dobrze jest wybrac dokladnie taka czcionke, jaka bedzie uzyta do wyswietlenia ANSI Artu. Domyslny wybor to Julia Mono. Note that only fixed-width characters will be used. Most of variable-size fonts will not work. Ponizszy konwerter obsluguje jedynie znaki o stalej szerokosci. Wiekszosc czcionek o zmiennej szerokosci znaku nie zadziala. No font loaded. Probably the script didn't load yet (or maybe it crashed - check the JS console to find out). [ ] 3. Settings 3. Ustawienia Forbidden characters Zabronione znaki Some terminals replace specific characters with built-in images. This may break the alignment of ANSI Art. By default we're excluding the characters which are overridden on the Ubuntu OS. Niektore terminale zastepuja pewne znaki wbudowanymi obrazami. Moze to zepsuc wyrownanie ANSI Art-u. Domyslnie wiec wykluczamy znaki, ktore zastepowane sa na systemie Ubuntu. [[?][?][?][?][?][?][?]] Colors Kolory [24-bit color ] Width Szerokosc [80 ] --------------------------------------------------------------------- RenderRenderuj 100% --------------------------------------------------------------------- Preview: Podglad: C-escaped string: Stala jezyka C: [ ] Bash-escaped string: Polecenie powloki Bash: [ ] Raw unicode string: Unikod: [ ]