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!
- Fork this repository
- Create a new branch (
feature/amazing-fractal) - Commit your changes
- Push to the branch
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fractek-0.1.1.post1.tar.gz.
File metadata
- Download URL: fractek-0.1.1.post1.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dcfa02baedbb0149832aa8b3855c492eee2fa098f9fa37356c38c22b6c42add
|
|
| MD5 |
0eec4474f0ef8d60bf8edc8b81d446ce
|
|
| BLAKE2b-256 |
6c3c2efa2234d90592bf4266e2632367fba966bd1f7361f3510a4f94874a0327
|
File details
Details for the file fractek-0.1.1.post1-py3-none-any.whl.
File metadata
- Download URL: fractek-0.1.1.post1-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f1c8528f3d179bf460dbc8ece6f839d9e7fd2054351d193eb558cc38c82adc1
|
|
| MD5 |
57832d82819a406e0e9cf5b667777f3a
|
|
| BLAKE2b-256 |
34a39c85bb356c4027a4024a4efa6628540d1cca0e62494babba0d99c422f710
|