ANN: FIGlet.jl

Hi everyone,

I wanted to announce FIGlet.jl. It is a Julia port of FIGlet for rendering text in ASCII fonts.

 ███████████ █████   █████████  ████            █████            ███  ████
░░███░░░░░░█░░███   ███░░░░░███░░███           ░░███            ░░░  ░░███
 ░███   █ ░  ░███  ███     ░░░  ░███   ██████  ███████          █████ ░███
 ░███████    ░███ ░███          ░███  ███░░███░░░███░          ░░███  ░███
 ░███░░░█    ░███ ░███    █████ ░███ ░███████   ░███            ░███  ░███
 ░███  ░     ░███ ░░███  ░░███  ░███ ░███░░░    ░███ ███        ░███  ░███
 █████       █████ ░░█████████  █████░░██████   ░░█████  ██     ░███  █████
░░░░░       ░░░░░   ░░░░░░░░░  ░░░░░  ░░░░░░     ░░░░░  ░░      ░███ ░░░░░
                                                            ███ ░███
                                                           ░░██████
                                                            ░░░░░░

Example:

julia> using FIGlet

julia> FIGlet.render("julia")
   _       _ _
  (_)_   _| (_) __ _
  | | | | | | |/ _` |
  | | |_| | | | (_| |
 _/ |\__,_|_|_|\__,_|
|__/


julia> FIGlet.availablefonts() |> length
680

julia> FIGlet.availablefonts()[1:5]
5-element Array{String,1}:
 "1943____"
 "1row"
 "3-d"
 "3D Diagonal"
 "3D-ASCII"

julia> FIGlet.render("julia", "3D-ASCII")
    ___  ___  ___  ___       ___  ________
   |\  \|\  \|\  \|\  \     |\  \|\   __  \
   \ \  \ \  \\\  \ \  \    \ \  \ \  \|\  \
 __ \ \  \ \  \\\  \ \  \    \ \  \ \   __  \
|\  \\_\  \ \  \\\  \ \  \____\ \  \ \  \ \  \
\ \________\ \_______\ \_______\ \__\ \__\ \__\
 \|________|\|_______|\|_______|\|__|\|__|\|__|

There’s 680 fonts bundled in the package, and you can probably you find more online.

If you’d like to use it in your package, you can get it by running the following:

(v1.0) pkg> add FIGlet
36 Likes

This is so cool. Looks like Julia packages are about to get a bunch more fancy ASCII art.

7 Likes

I think “flower power” is the best font I have seen in my entire life.

I wonder how these can be integrated with UnicodePlots for special, fancy looking headers and stuff.

2 Likes