slTrain is a fun and nostalgic Python script inspired by the classic sl steam locomotive command. This script animates a charming steam locomotive chugging across your terminal, complete with a dynamic smoke trail and colorful ASCII art. It's perfect for adding a bit of old-school charm to your terminal sessions.
https://stevenmilanese.com
| sl_env | ||
| README.md | ||
| sl.py | ||
🚂 slTrain
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\_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🌟 Features
- Colorful ASCII art train animation
- Realistic smoke effect
- Smooth scrolling across your terminal
- Customizable train length and smoke patterns
- Cross-platform compatibility
🚀 Quick Start
# 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
🛠️ Installation
- Ensure you have Python 3.6+ installed on your system.
- Install the required dependencies:
pip install colorama
- Clone the repository or download the
sltrain.pyfile. - Run the script using Python:
python sltrain.py
🎨 Customization
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!
🤝 Contributing
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
📜 License
Distributed under the MIT License. See LICENSE for more information.
🙏 Acknowledgments
- Inspired by the classic Unix
slcommand - ASCII art community for continuous inspiration
- All the wonderful contributors and users of this project
📬 Contact
Your Name - @your_twitter
Project Link: https://github.com/developtheweb/slTrain
Made with ❤️ by developtheweb