GithubHelp home page GithubHelp logo

ascii-art's Introduction

ASCII Art

This project is a program written in Go that takes a string as an argument and outputs the string in a graphical representation using ASCII characters. The goal is to create a visual representation of the input string using ASCII art.

Usage

To run the program, use the following command:

Simply copy the below command and change the text between the "" symbol. And make sure that you are in the App directory.

go run . "enter-yours-text" "BannerName"

For example:

go run . "Hello There!" "shadow" | cat -e

Or try the test file.

 ../Testing/Test.sh
 ../Testing/BannaerTest.sh

Also you can save the art in a txt file by using thr follwing command (Make sure to use the same format as following):

- $ go run . --output="FileName.txt" "enter-yours-text" BannerName

Banner Files

The project includes several banner files with predefined graphical templates represented using ASCII characters. These files are formatted in a way that does not require any changes.

  • shadow
  • standard
  • thinkertoy

Banner Format

Each character in the banner files has a height of 8 lines. Characters are separated by a new line (\n). Here is an example of the characters ' ', '!', and '"':

......
......
......
......
......
......
......
......

._..
|.|.
|.|.
|.|.
|_|.
(_).
....
....

._._..
(.|.).
.V.V..
......
......
......
......
......

Note: Please refer to the ASCII manual for more information on ASCII characters and their representations.

Currently Supported Banner names

  • standard
  • Thinkertoy banner
  • shadow banner
  • output banner

Future updates

  • reverse text
  • colored art
  • and many more...

ascii-art's People

Contributors

abdulla-22 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.