https://github.com/farrelad/fractals-design-python
Generate beautiful fractal designs with Python and visualize them in Jupyter Notebook
https://github.com/farrelad/fractals-design-python
awesome-python design fractals math mathematics python
Last synced: 4 months ago
JSON representation
Generate beautiful fractal designs with Python and visualize them in Jupyter Notebook
- Host: GitHub
- URL: https://github.com/farrelad/fractals-design-python
- Owner: FarrelAD
- Created: 2025-09-27T12:09:12.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-09-28T12:19:49.000Z (4 months ago)
- Last Synced: 2025-09-28T14:31:04.185Z (4 months ago)
- Topics: awesome-python, design, fractals, math, mathematics, python
- Language: Jupyter Notebook
- Homepage:
- Size: 878 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fractal Design with Python
This project shows how to create fractal designs using a Python script. Fractal designs look simple but are fascinating because they use the same component repeatedly to build intricate and beautiful patterns. The concept is very similar to recursive functions in programming — if you go deeper into the layers, you'll see the same pattern repeating, just like in recursion. You can learn more about fractal curves [here](https://en.wikipedia.org/wiki/Fractal_curve).
The script is fully written for the Jupyter Notebook environment. You can find the notebook in the [`notebooks/`](notebooks/) directory.
If you want to run or customize the script, you can install the required dependencies. All dependencies are managed using the [`uv`](https://docs.astral.sh/uv/) package manager. It only includes very common Python packages: [`NumPy`](https://numpy.org/) and [`matplotlib`](https://matplotlib.org/). **NumPy** is used for calculating the fractal design, while **matplotlib** is used to visualize it.
## Additional Resources
- 📖 [Fractal curve (Wikipedia)](https://en.wikipedia.org/wiki/Fractal_curve) — background about fractals in mathematics.
- 🎥 [Fractals are typically not self-similar (YouTube)](https://youtu.be/gB9n2gHsHN4?si=ChlSm1eEdBunXALv) — a deeper look into the idea of fractals, showing that they are not always the simple “self-similar recursive shapes” we usually imagine. The video explains this concept in an accessible way without going too heavy into formal math.