acme-zalgo-0.1.0.0: A somewhat flexible Zalgo̐ te̳͜x̥̖̉̓͞t̍̌̔ ̀̃t̴̢̞̜͓̝r̶̬̆̂̒͟á̧̡͎͔̯̰̕n̹̾̓ͬͦ̍͘ṡ̢͓͉ͮ͆l̠̖̹̗̳̖̽̌ͤ͞a͚̭͙̹̲ͭͩt͈͐o̢̭͇͍̟͐ͬ̾ͪ͜r͇.̸̅ͭ̐̀̊ͨ͛

Text.Zalgo

Description

Provides facilities for generating a wide range of glitched/creepy text through horrifying abuse of diacritics.

Synopsis

# Pure interface

zalgo :: RandomGen g => String -> g -> (g, String) Source #

Zalgo the given text using the default zalgo settings and the given generator.

zalgoWith :: RandomGen g => ZalgoSettings -> String -> g -> (g, String) Source #

Zalgo the given text, using the given algorithm settings and generator.

Gradually zalgo the given string, starting from the given threshold and linearly scaling towards the default zalgo settings.

Exorcise Zalgo from the given string.

# Effectful interface

Zalgo the given text using the standard settings and a fresh generator.

Zalgo the given text with the given settings, using a fresh standard generator.

Zalgo the given text using a fresh random generator, starting after the given fraction of the input string, from there on scaling the zalgo factor linearly towards the given settings.

# Printing functions

Print zalgo'd text using the default settings and a fresh default generator.

Print zalgo'd text using the given settings and a fresh random generator.

Gradually zalgo and print the given text starting at the given threshold. Uses default settings and a fresh system default generator.

# Configuration

Maximum number of diacritics above or below a character at the given position of the input string.

Default: const 10

Maximum random variance in height, as a fraction of maxHeight, at the given position of the input string.

Default: const 1

Probability of generating an overlay character at the given position of the input string.

Default: const 0.4

The default zalgo settings. Creepy yet readable.