Skip to main content

A world-class modular fractal mathematics, visualization, and analysis library

Project description

FracTek: The Ultimate Fractal Library

Welcome to FracTek, the crazy comprehensive fractal library designed for beginners, researchers, and educators alike. FracTek brings together:

  • Core mathematical fractal algorithms
  • Fractal dimension calculations
  • Advanced visualization tools
  • Fractal mixing and experimentation
  • Creative explorations in fractal-based art and science

All under one roof.

Whether you want to explore the Mandelbrot set for the first time, calculate the precise fractal dimension of a coastline, or generate surreal landscapes for your next art project — FracTek has you covered.


✨ Features

  • Fractal Families: Generate classic and advanced fractals including Mandelbrot, Julia, Koch Snowflake, Sierpinski Triangle, Barnsley Fern, Dragon Curve, IFS patterns, and more.
  • Fractal Dimension Calculation: Compute dimensions using Hausdorff, box-counting, and correlation methods.
  • Fractal Mixing: Combine multiple fractals to analyze complex, hybrid dimensions.
  • Visualization: High-quality 2D/3D renderings, animations, and fully customizable color maps.
  • Creative Experiments: Dive into fractal noise, procedural landscapes, generative art, and machine learning insights using fractal data.
  • Extensible & Modular: Add your own fractal algorithms, dimension calculations, or visual styles easily.
  • Documentation & Tutorials: Detailed examples and guides for all levels of users.

📦 Installation

FracTek is currently in active development. To get started right away:

git clone [https://github.com/yourusername/fractek.git](https://github.com/yourusername/fractek.git)
cd fractek
# Install dependencies
pip install -r requirements.txt

🚀 Getting Started

The Mandelbrot set is the first fractal available in FracTek.

Located in fractapy/fractal_families/mandelbrot.py, it includes:

  • mandelbrot: Calculate escape iterations for a complex point.
  • mandelbrot_set: Generate the full Mandelbrot grid.
  • plot_mandelbrot: Visualize it with a heatmap color scheme.

Example usage:

from fractapy.fractal_families.mandelbrot import mandelbrot_set, plot_mandelbrot

# Generate a Mandelbrot set
data = mandelbrot_set(xmin=-2.0, xmax=1.0, ymin=-1.5, ymax=1.5, width=800, height=800, max_iter=200)

# Plot the result
plot_mandelbrot(data)

🤝 Contributing

We welcome contributions from the community!

  1. Fork this repository
  2. Create a new branch (feature/amazing-fractal)
  3. Commit your changes
  4. Push to the branch
  5. Open a pull request

See CONTRIBUTING.md for full guidelines.


📄 License

This project is licensed under the MIT License. See the LICENSE file for details.


🌀 Why Fractals?

Fractals are not just pretty patterns — they are mathematical blueprints found in nature, physics, computer graphics, and even stock market patterns.

With FracTek, you can explore these intricate structures, learn their math, and create visuals that range from scientific models to pure digital art.

"Somewhere, something incredible is waiting to be known." — Carl Sagan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fractek-0.1.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fractek-0.1.0-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

Details for the file fractek-0.1.0.tar.gz.

File metadata

  • Download URL: fractek-0.1.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for fractek-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f10a98b3bdeff1b819667cae5e7cd5d5f84b89ec05e9abc054fcb500975cf784
MD5 638050487e2a4c001004cf2168205818
BLAKE2b-256 c9e70132d466e17381755321200127cacb443382b4b910715243f46e568e1bea

See more details on using hashes here.

File details

Details for the file fractek-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fractek-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for fractek-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fad959a38a63dbfb483c32d6db8c8f662f9713aa43d7b0c9395cf19c5d326a59
MD5 17e2b634d6a37a2bcb5be956915d31df
BLAKE2b-256 547d0f6b6c9f612ad45a5b45dbb79366bee274e4ae7b1970027bfde06b6885d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page