A Python script to spread love and joy through colorful, overlapping hearts.
HeartsSYS
is a creative Python script that uses the turtle
graphics library to draw a stunning sequence of colorful, overlapping hearts. At the center of the design, it displays a personalized, heartfelt message. Perfect for gifting virtual love or just having fun with artistic coding! 💖
- ✨ Beautiful Designs: Overlapping hearts in a vibrant color gradient.
- 🌸 Soft Background: Elegant and soothing aesthetics.
- 📝 Personalized Message: A custom message displayed in the center.
- 🎨 Customizable: Modify colors and text easily.
- Python 3.x installed on your system.
- Basic knowledge of running Python scripts.
git clone https://github.com/<ChiranjeewaPeellawatta>/HeartsSYS.git
cd HeartsSYS
python HeartsSYS.py
- Change Colors:
Edit thecolors
list in the script to use your favorite shades:colors = ['red', 'pink', 'violet', 'purple', 'blue', 'green', 'yellow']
- Edit the Message:
Modify the message text displayed in the heart by updating this line:t.write("Your Custom Message", align="center", font=("Verdana", 15, "bold"))
- Express love in a creative and geeky way! 🧡
- Learn Python Turtle Graphics: A fun introduction to Python's graphics capabilities. 🐢
- Share Virtual Greetings: Perfect for personalized messages to loved ones. 💌
Contributions are welcome! Here’s how you can help:
- Fork the repository.
- Create a new branch for your changes:
git checkout -b feature/amazing-feature
- Commit your updates:
git commit -m "Added amazing feature"
- Push to the branch:
git push origin feature/amazing-feature
- Open a pull request.
Change the colors
array to explore creative combinations:
colors = ['#FF0000', '#00FF00', '#0000FF', '#FFFF00', '#FF00FF']
Modify the loop for heart sizes:
for i, color in enumerate(colors):
draw_heart(16 - i * 2, 16 - i * 2, color)
Special thanks to Python’s Turtle Graphics library for making graphics fun and easy to learn. 🎉
🌐 Portfolio: [Your Portfolio Link]
👔 LinkedIn: chiranjeewa-lankeshwara
👍 Facebook: chiranjeewalankeshwara
📸 Instagram: iam.djraax
🐦 Twitter: @DJ_Raax
Enjoy creating beautiful hearts and spreading love! 💝
~ Made with ❤️ by Chiranjeewa Peellawatta