Skip to content

Character flipping effect text printer module for Python

License

Notifications You must be signed in to change notification settings

urbanware-org/flipfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlipFX

Table of contents


Definition

The FlipFX module allows printing a string with a flipping character effect.

You can find more text printing effects here.

Top

Details

Before the given string is printed, a random one with the same length will be created and printed. With a user-defined delay the characters will flip randomly until all of them are identical with the given one.

Usage

First of all, the module must be imported.

import flipfx

Method

Notice that the delay must be given in milliseconds.

The method requires only two arguments, the string that should be printed and the delay between flipping the characters:

flipfx.charflip(string, delay=80)

Example

The following code

import flipfx
flipfx.charflip("This is an example how the module works.", 80)

produces this output:

FlipFX sample output

Top

Requirements

In order to use FlipFX, the Python framework must be installed on the system.

Depending on which version of the framework you are using:

  • Python 2.x (version 2.7 or higher is recommended, may also work with earlier versions)
  • Python 3.x (version 3.2 or higher is recommended, may also work with earlier versions)

Top

Contact

Any suggestions, questions, bugs to report or feedback to give?

You can contact me by sending an email to [email protected] or by opening a GitHub issue (which I would prefer if you have a GitHub account).

Top

Useless facts

  • The project name is an abbreviation for Flip Effects.

Top

About

Character flipping effect text printer module for Python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages