Skip to content

A growing collection of classic and modern fractal patterns implemented in Python using the Turtle graphics library. All codes are designed to be minimalistic, clean, and easy to modify, making them ideal for learning, experimentation, and artistic exploration.

Notifications You must be signed in to change notification settings

Modcrafter72/fractal-collection

Repository files navigation

Fractal Collection

Welcome to the Fractal Collection — a minimalist set of Python programs generating various fractal patterns using the Turtle graphics library.

image

Project Overview

This repository contains multiple fractal scripts, each designed with simplicity and clarity in mind. The code is structured so you can easily modify parameters like recursion depth, colors, and sizes to explore different fractal shapes and details.

Included Fractals & Notes

  • Mandelbrot Set: This fractal takes longer to render due to its computational complexity, but the image will eventually appear with enough patience.
  • Chaos Game Polygon Generator: This versatile script can generate multiple types of Sierpinski polygons (triangles, squares, hexagons, and more) by adjusting parameters. The "jump factor" used to determine new points is usually a close approximation and may not be perfect for every polygon type.
  • Other fractals include classic shapes like the Dragon Curve, Hilbert Curve, Sierpinski Triangle, Koch Snowflake, and more.

Code Structure & Customization

  • Each fractal program follows a consistent, well-documented format, making it easy to understand and adapt.
  • Parameters such as recursion depth, polygon sides, colors, and sizes are clearly marked at the top of each script.
  • The minimalist approach keeps the code clean and focused on the core fractal logic without unnecessary complexity.

Collaboration & Acknowledgments

I have worked closely with an AI assistant to polish and refine the code, ensuring consistency, clarity, and functionality across all scripts in this collection.

Contact

If you encounter any issues, have questions, or want to suggest improvements, feel free to reach out to me at:

modcrafter72@gmail.com

About

A growing collection of classic and modern fractal patterns implemented in Python using the Turtle graphics library. All codes are designed to be minimalistic, clean, and easy to modify, making them ideal for learning, experimentation, and artistic exploration.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages