A delightful ASCII art train animation for your terminal, bringing joy to command-line enthusiasts everywhere!
. . . . . o o o o o
_____
__|[_]|__ ___________ _______ ____ o
|[] [] []| [] [] [] [] [_____(__ ][]]_n_n__][.
_|________|_[_________]_[________]_|__|________)<
oo oo 'oo oo ' oo oo 'oo 0000---oo\_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Colorful ASCII art train animation
- Realistic smoke effect
- Smooth scrolling across your terminal
- Customizable train length and smoke patterns
- Cross-platform compatibility
# Clone the repository
git clone https://github.com/developtheweb/slTrain.git
# Navigate to the project directory
cd slTrain
# Run the train animation
python sltrain.py
- Ensure you have Python 3.6+ installed on your system.
- Install the required dependencies:
pip install colorama
- Clone the repository or download the
sltrain.py
file. - Run the script using Python:
python sltrain.py
You can easily customize the train's appearance and behavior by modifying the following variables in sltrain.py
:
train_length
: Adjust the length of the trainsmoke_length
: Change the length of the smoke trailstart_position
: Set how much of the train is visible at the start
Feel free to experiment with colors and ASCII patterns to create your unique train!
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.
- Inspired by the classic Unix
sl
command - ASCII art community for continuous inspiration
- All the wonderful contributors and users of this project
Your Name - @developtheweb
Project Link: https://github.com/developtheweb/slTrain
Made with ❤️ by developtheweb