ilusm.dev

fig

ASCII art text generation.

Load with: use fig

Quick example

use fig

result = fgltl(\(x) x, "hello")
prn(result)

Functions

Figlet Engine

fglet()

Performs the operation.

fglka()

Performs the operation.

Standard Font Characters

fglfa()

Performs the operation.

Big Font Characters

fglga()

Performs the operation.

Banner Font Characters

fglia()

Performs the operation.

fgltl(figlet, font_name)

Performs the operation. Takes figlet, font_name.

fglea(figlet, font_name)

Performs the operation. Takes figlet, font_name.

fglrn(figlet, text)

Performs the operation. Takes figlet, text.

fgltj(text, width)

Performs the operation. Takes text, width.

fgltp(text, width, align)

Performs the operation. Takes text, width, align.

Color Support

fgltc(figlet, text, color)

Performs the operation. Takes figlet, text, color.

ASCII Art Templates

fglca()

Performs the operation.

fglba(name, template)

Performs the operation. Takes name, template.

fglaa(tmpl, variables)

Performs the operation. Takes tmpl, variables.

Pre-defined Templates

fgltt()

Performs the operation.

fglda()

Performs the operation.

Convenience functions

Module aliases

These are the public-facing names you call with use fig:

  • fig.new()
  • fig.render(text, font)
  • fig.banner(text, color)
  • fig.box(text, font, color)
  • fig.std(text)
  • fig.big(text)
  • fig.bnr(text)

Notes

  • Configuration management - layered config, env overrides, validation.