tacocat v0.1.0 Tacocat.Flipper
This module houses the functions that deal with rotating and flipping text.
Adapted from http://www.fileformat.info/convert/text/upside-down-map.htm
Link to this section Summary
Functions
Backflip is usually what you want: it reverses the input string and then flips it, which for some reason makes the result more recognizable.
This funciton turns the given text "upside down" by replacing characters with some Unicode equivalent that looks
similar to the input rotated 180 degrees. If a character doesn't have its flip mapped, it is passed through unchanged.
Often, you may want backflip/2
instead.
Link to this section Functions
backflip(text)
Backflip is usually what you want: it reverses the input string and then flips it, which for some reason makes the result more recognizable.
Examples
iex> Tacocat.backflip("Who are these people?")
"¿ǝʃdoǝd ǝsǝɥʇ ǝɹɐ oɥM"
flip(text)
This funciton turns the given text "upside down" by replacing characters with some Unicode equivalent that looks
similar to the input rotated 180 degrees. If a character doesn't have its flip mapped, it is passed through unchanged.
Often, you may want backflip/2
instead.
Examples
iex> Tacocat.Flipper.flip("Who are these people?")
"Mɥo ɐɹǝ ʇɥǝsǝ dǝodʃǝ¿"