Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fun Python Projects 🐍🎨

A curated collection of fun, interactive, and visually engaging Python projects.


💖 Project 1: Turtle Heart Graphic

An elegant Python script that uses the built-in turtle module to draw a beautifully layered pink heart on a black canvas, filled with multiple repetitions of the text "I Love You". It combines math (parametric equations for heart shapes) and creative coding.

🖼️ Preview

Below is the mathematical representation used to construct the heart curve:

  • (x = 16 \sin^3(\theta))
  • (y = 13 \cos(\theta) - 5 \cos(2\theta) - 2 \cos(3\theta) - \cos(4\theta))

🚀 Getting Started

Prerequisites

This project uses standard Python libraries. You only need:

  • Python 3.x
  • Tkinter (usually pre-installed with Python on Windows/macOS. For Linux, install using sudo apt-get install python3-tk)

Installation & Run

  1. Clone the repository:

    git clone <repository-url>
    cd fun-python-projects
  2. Run the turtle program:

    python index.py

🌟 Project 2: Rainbow Spiral Star

A colorful geometry project demonstrating loops, list indexing, and basic angles in computer graphics. It renders a beautiful multi-colored spiral star shape that grows dynamically.

🚀 Getting Started

Run the spiral star program:

python spiral_star.py

☯️ Project 3: Yin Yang Symbol

A geometric design that demonstrates circular arcs, coordinate movements, and custom color fills. The Yin Yang symbol uses nested circles to show balance and symmetry.

🚀 Getting Started

Run the Yin Yang program:

python yin_yang.py

🌺 Project 4: Flower Mandala Pattern

A vibrant geometric mandala crafted from overlapping, rotated petal shapes. Demonstrates nested loops, trigonometric symmetry, and color palettes in Python.

🚀 Getting Started

Run the flower mandala program:

python flower_mandala.py

🔤 Project 5: 3D Block Letter Art

A 3D-styled block letter 'P' drawn using precise coordinate paths, custom fills, and cutout shapes. Teaches beginner programmers how to construct custom typography with Turtle graphics.

🚀 Getting Started

Run the letter art program:

python letter_art.py

🛑 Project 6: Neon Hexagon Spiral

A glowing geometric spiral created using a 59-degree rotational offset and a multi-color neon palette. Excellent for learning color lists, line thickness scaling, and turtle rotation math.

🚀 Getting Started

Run the neon hexagon program:

python neon_hexagon.py

🛠️ Requirements & Tech Stack

  • Language: Python 3
  • Libraries: turtle (Standard Library), math (Standard Library)

About

A collection of fun python projects.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages