-
Notifications
You must be signed in to change notification settings - Fork 0
Home
SRIJA DE CHOWDHURY edited this page Jan 3, 2026
·
1 revision
Butterflies in my IDE is a Python project that visualizes the beautiful butterfly curve using turtle graphics. This project continues the saga of creating mathematical art with Python!
The butterfly curve is a transcendental plane curve discovered by Temple H. Fay. When plotted, it resembles a butterfly with intricate, symmetrical wings.
r = e^cos(t) β 2cos(4t) β sin^5(t/12)
x = sin(t) * r
y = cos(t) * r
# Clone the repository
git clone https://github.com/willow788/Butterflies-in-my-IDE.git
# Navigate to the directory
cd Butterflies-in-my-IDE
# Run the butterfly program
python "Python code/butterfly.py"- Getting Started - Installation and first run
- Code Explanation - Detailed breakdown of the code
- Mathematical Background - The math behind the butterfly
- Customization Guide - How to modify colors, sizes, and formulas
- Troubleshooting - Common issues and solutions
- Gallery - Screenshots and variations
β
Beautiful butterfly curve visualization
β
Animated drawing process
β
Auto-scaling to fit any window size
β
Customizable colors and parameters
β
Clean, well-documented code
Feel free to fork this project and create your own variations! Share your beautiful turtle graphics creations.
This project is licensed under the MIT License.
Happy Coding! π¦β¨