asciitextart

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 0 Imported by: 0

README

ASCIITextArt

For now, Only support ASCII Characters.

ASCII-Text-Art-Alphabet Preview

abcdefghijklmnopqrstuvwxyz

! __________________________________________________________________________________
! __________________________________________________________________________________
! __$$$$____$$_______$$$$_______$$___$$$$______$$$__________$$________$$_______$$________
! _$$__$$___$$______$$__$$______$$__$$__$$____$$_____$$$$$__$$______________________________
! _____$$___$$______$$__________$$__$$__$$__$$$$$$__$$__$$__$$_______$$$_____$$$$____
! __$$$$$___$$$$$___$$_______$$$$$__$$$$$$____$$____$$__$$__$$$$$_____$$_______$$___________
! _$$__$$___$$__$$__$$______$$__$$__$$________$$_____$$$$$__$$__$$____$$_______$$________
! _$$__$$___$$__$$__$$__$$__$$__$$__$$________$$________$$__$$__$$____$$_______$$____
! _ $$$_$$__$$$$$____$$$$____$$$$$___$$$$_____$$________$$__$$__$$__$$$$$$_____$$_________
!____________________________________________________$$$$___________________$$$$_____

!______________________________________________________________________________________
!______________________________________________________________________________________
!_$$______$$$$____$$$$$$___$$$$$$____$$$$___________________$$_$$$$____$$$$_____$$____________________________________
!_$$__$$____$$____$$_$_$$__$$___$$__$$__$$__$$$$$____$$$$$__$$$$__$$__$$__$$____$$________________________________________________
!_$$_$$_____$$____$$_$_$$__$$___$$__$$__$$__$$__$$__$$__$$__$$$_______$$______$$$$$$_______________________________________________
!_$$$_______$$____$$_$_$$__$$___$$__$$__$$__$$__$$__$$__$$__$$_________$$$$_____$$__________________________________________
!_$$$$______$$____$$_$_$$__$$___$$__$$__$$__$$$$$____$$$$$__$$____________$$____$$___________________________________________
!_$$_$$_____$$____$$_$_$$__$$___$$__$$__$$__$$__________$$__$$________$$__$$____$$_____________________________________
!_$$__$$__$$$$$$__$$_$_$$__$$___$$___$$$$___$$__________$$__$$_________$$$$______$$$$________________________________________
!___________________________________________$$__________$$_________________________________

!_______________________________________________________________________________________
!_______________________________________________________________________________________
!_$$__$$___$$__$$__$$_____$$__$$_____$$___________________________________________________________________
!_$$__$$___$$__$$__$$_____$$___$$___$$___$$____$$___$$$$$$_______________________________________________________
!_$$__$$___$$__$$__$$__$__$$____$$_$$_____$$__$$________$$__________________________________________________________
!_$$__$$___$$__$$__$$__$__$$_____$$$_______$$$$________$$__________________________________________________________
!_$$__$$___$$__$$___$$_$_$$_____$$_$$_______$$$_______$$________________________________________________________
!_$$__$$____$__$_____$$_$$_____$$___$$_______$$______$$_____________________________________________________________
!__$$$_$$____$$______$$_$$____$$_____$$______$$_____$$$$$$__________________________________________________________
!_________________________________________$$$$_____________________________________________

ABCDEFGHIJKLMNOPQRSTUVWXYZ

!______$$______$$$$$$_____$$$$$___$$$$$____$$$$$$$__$$$$$$$___$$$$$___$$___$$__$$$$$$___________________________________________________
!_____$$$$_____$$___$$___$$___$$__$$__$$___$$_______$$_______$$___$$__$$___$$____$$__________________________________
!____$$__$$____$$___$$___$$___$$__$$___$$__$$_______$$_______$$___$$__$$___$$____$$________________________________
!___$$____$$___$$___$$___$$_______$$___$$__$$_______$$_______$$_______$$___$$____$$________________________________
!___$$____$$___$$$$$$____$$_______$$___$$__$$$$$$$__$$$$$$$__$$__$$$__$$$$$$$____$$_________________________________________________
!___$$$$$$$$___$$___$$___$$_______$$___$$__$$_______$$_______$$___$$__$$___$$____$$_________________________________
!___$$____$$___$$___$$___$$___$$__$$___$$__$$_______$$_______$$___$$__$$___$$____$$____________________________________
!___$$____$$___$$___$$___$$___$$__$$__$$___$$_______$$_______$$___$$__$$___$$____$$___________________________________
!___$$____$$___$$$$$$_____$$$$$___$$$$$____$$$$$$$__$$________$$$$$___$$___$$__$$$$$$__________________________________________________
!_____________________________________________________________________________________________

!__$$$$$$__$$___$$__$$_______$$________$$__$$_______$$___$$$$$$___$$$$$$_____$$$$$$____$$$$$$____________________________________
!______$$__$$__$$___$$_______$$$$____$$$$__$$$$_____$$__$$____$$__$$___$$___$$____$$___$$___$$______________________________
!______$$__$$_$$____$$_______$$_$$__$$_$$__$$_$$____$$__$$____$$__$$___$$___$$____$$___$$___$$___________________________
!______$$__$$$$_____$$_______$$__$$$$__$$__$$__$$___$$__$$____$$__$$___$$___$$____$$___$$___$$____________________________
0______$$__$$$______$$_______$$___$$___$$__$$___$$__$$__$$____$$__$$$$$$____$$____$$___$$$$$$_____________________________
!______$$__$$$$_____$$_______$$________$$__$$____$$_$$__$$____$$__$$________$$____$$___$$_$$________________________
!_$$___$$__$$_$$____$$_______$$________$$__$$_____$$$$__$$____$$__$$________$$____$$___$$__$$______________________
!_$$___$$__$$__$$___$$_______$$________$$__$$______$$$__$$____$$__$$________$$____$$___$$___$$_____________________
!__$$$$$___$$___$$__$$$$$$$__$$________$$__$$_______$$___$$$$$$___$$_________$$$$$$____$$____$$_______________________________
!________________________________________________________________________________$$$$____________

!__$$$$$$___$$$$$$$$__$$____$$____$$______$$__$$_________$$__$$______$$__$$______$$__$$$$$$$$_____________________________________
!_$$____$$_____$$_____$$____$$____$$______$$__$$_________$$___$$____$$____$$____$$_________$$_________________________
!_$$____$$_____$$_____$$____$$____$$______$$__$$___$$____$$____$$__$$______$$__$$_________$$_________________________
!_$$___________$$_____$$____$$____$$______$$__$$___$$____$$_____$$$$________$$$$_________$$___________________________
0__$$$$$$______$$_____$$____$$____$$______$$__$$___$$____$$______$$__________$$_________$$______________________________
!_______$$_____$$_____$$____$$_____$$____$$____$$_$$_$$_$$______$$$$_________$$________$$_____________________________
!_$$____$$_____$$_____$$____$$______$$__$$______$$$___$$$______$$__$$________$$_______$$____________________________
!_$$____$$_____$$_____$$____$$_______$$$$_______$$_____$$_____$$____$$_______$$______$$___________________________
!__$$$$$$______$$______$$$$$$_$$______$$________$$_____$$____$$______$$______$$______$$$$$$$$__________________________________
!_____________________________________________________________________________________________________________

1234567890

!_____________________________________________________________________________________________________________
!____$$$______$$$$$$____$$$$$$_______$$$$____$$$$$$$___$$$$$___$$$$$$$___$$$$$$____$$$$$$____$$$$$$______________________________________________
!___$$$$_____$$____$$__$$____$$_____$$_$$____$$_______$$___$$_______$$__$$____$$__$$____$$__$$___$$$_______________________
!__$$$$$_____$$___$$_________$$____$$__$$____$$_______$$____________$$__$$____$$__$$____$$__$$__$$$$__________________
0_____$$_________$$______$$$$$$___$$___$$____$$$$$$___$$$$$$________$$__$$$$$$$$___$$$$$$$__$$_$$_$$_______________________________
!_____$$________$$___________$$__$$$$$$$$$$_______$$__$$___$$_______$$__$$____$$________$$__$$$$__$$_______________
!_____$$_______$$____________$$________$$_________$$__$$___$$_______$$__$$____$$________$$__$$$___$$______________
!_____$$______$$_______$$____$$________$$____$$___$$__$$___$$_______$$__$$____$$________$$__$$____$$_______________
!__$$$$$$$$__$$$$$$$$___$$$$$$_________$$_____$$$$$____$$$$$________$$___$$$$$$____$$$$$$____$$$$$$_________________________________________
!________________________________________________________________________________________________________________


How to use:

import(
    asciitextart "github.com/LYF123123/ASCIITextArt"
    "fmt
)

func main(){
    res1:=asciitextart.ToAsciiTextArt("welcome")
    fmt.Println(res1)
    res2:=asciitextart.ToAsciiTextArt("Goodbye")
    fmt.Println(res2)
    res3:=asciitextart.ToAsciiTextArt("1234567890")
    fmt.Println(res3)

}

Output:
____________________________________________________________
____________________________________________________________
_$$_____$$___$$$$___$$$$_____$$$$____$$$$___$$$$$$____$$$$__
_$$_____$$__$$__$$____$$____$$__$$__$$__$$__$$_$_$$__$$__$$_
_$$__$__$$__$$__$$____$$____$$______$$__$$__$$_$_$$__$$__$$_
_$$__$__$$__$$$$$$____$$____$$______$$__$$__$$_$_$$__$$$$$$_
__$$_$_$$___$$________$$____$$______$$__$$__$$_$_$$__$$_____
___$$_$$____$$________$$____$$__$$__$$__$$__$$_$_$$__$$_____
___$$_$$_____$$$$___$$$$$$___$$$$____$$$$___$$_$_$$___$$$$__
____________________________________________________________

__$$$$$____________________________________________________
_$$___$$___________________________________________________
_$$___$$___$$$$____$$$$_______$$__$$_________________$$$$__
_$$_______$$__$$__$$__$$______$$__$$______$$____$$__$$__$$_
_$$__$$$__$$__$$__$$__$$______$$__$$_______$$__$$___$$__$$_
_$$___$$__$$__$$__$$__$$___$$$$$__$$$$$_____$$$$____$$$$$$_
_$$___$$__$$__$$__$$__$$__$$__$$__$$__$$_____$$$____$$_____
_$$___$$__$$__$$__$$__$$__$$__$$__$$__$$______$$____$$_____
__$$$$$____$$$$____$$$$____$$$$$__$$$$$_______$$_____$$$$__
___________________________________________$$$$____________

___________________________________________________________________________________________________
___$$$______$$$$$$____$$$$$$_______$$$$____$$$$$$$___$$$$$___$$$$$$$___$$$$$$____$$$$$$____$$$$$$__
__$$$$_____$$____$$__$$____$$_____$$_$$____$$_______$$___$$_______$$__$$____$$__$$____$$__$$___$$$_
_$$$$$_____$$___$$_________$$____$$__$$____$$_______$$____________$$__$$____$$__$$____$$__$$__$$$$_
____$$_________$$______$$$$$$___$$___$$____$$$$$$___$$$$$$________$$__$$$$$$$$___$$$$$$$__$$_$$_$$_
____$$________$$___________$$__$$$$$$$$$$_______$$__$$___$$_______$$__$$____$$________$$__$$$$__$$_
____$$_______$$____________$$________$$_________$$__$$___$$_______$$__$$____$$________$$__$$$___$$_
____$$______$$_______$$____$$________$$____$$___$$__$$___$$_______$$__$$____$$________$$__$$____$$_
_$$$$$$$$__$$$$$$$$___$$$$$$_________$$_____$$$$$____$$$$$________$$___$$$$$$____$$$$$$____$$$$$$__
___________________________________________________________________________________________________

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAsciiTextArt

func ToAsciiTextArt(str string) string

For now, This method only support a~z A~Z 0~9 If you input a string with other characters(not include in a~z A~Z 0~9), this method will return ""

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL