AsciiFlow is a Python library designed to bring life to the console with animated ASCII shapes. It provides a simple yet powerful tool for creating and displaying ASCII animations in your comٰmand-line interface. Whether you are adding a fun element to your scripts or creating engaging tutorials, AsciiFlow makes it easy to integrate dynamic text and shape animations.
- Animate predefined ASCII shapes with customizable text.
- Interactive user input to change text and observe animations.
- Easily adjustable for different console widths and preferences.
- Pure Python implementation with no external dependencies.
- Python 3.x
You can install AsciiFlow by cloning this repository:
git clone https://github.com/samnodehi/asciiflow.git
Navigate to the directory where you cloned AsciiFlow and you can run the script directly or integrate it into your own Python projects.
To get started with AsciiFlow, you simply need to import and run the module in your Python script. Here’s how you can quickly set it up:
-
Import the library:
import asciiflow
-
Call the main function to start the animation:
asciiflow.main_loop()
This will start the interactive text and shape animation loop. Follow the on-screen prompts to customize the text and observe the shape animations.
Here is a simple example of how to use AsciiFlow in your script:
# Assuming the file is named 'asciiflow.py'
import asciiflow
# Start the animation with user interaction
asciiflow.main_loop()
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Sam - @Telegram - Email Project Link: https://github.com/samnodehi/asciiflow"# AsciiFlow"