Monday 13 January 2020

Text to ASCII Art Generator Nuget

Create ASCII art from text with various settings like set text and background text with printing speed in .net. You might found various online Text to ASCII Art Generator, but now can do it by yourself in .net. Just Import TextToAsciiArt.dll and write some snippet and done!

Install-Package TextToAsciiArt -Version 1.0.0


Limitation: Only A-Z and 0-9 accepted.

Snippet:
using System;
using TextToAsciiArt;
class Program
{
    static void Main(string[] args)
    {
        IArtWriter writer = new ArtWriter();
 
        //1
        writer.WriteConsole("happy lohri 2020", null);
 
        //2
        var settings = new ArtSetting
        {
            ConsoleSpeed = 100,
            IsBreakSpace = true,
            Text = "|",
            BgText = "_"
        };
        writer.WriteConsole("happy lohri 2020", settings);
 
        //3
        var data = writer.WriteString("My name is Raj");
        Console.WriteLine(data);
    }
}
 

Output:


Running demo here.
Tags:

  • Text to ASCII Art Generator
  • Text Art
  • CMD Fancy Text
  • Console Text Art
  • Console Art