For Generating Fast IFS Fractals
Project description
ifsFractals
A python module for fast Iterated Function System Fractal generation
Also, you can use some ifsFractlas
functionality in your browser here!
To install, use pip:
pip install ifsFractals --upgrade
If you are trying to use ifsFractals
in CoCalc or get an error about a read-only file system, use
python3 -m pip install --user ifsFractals --upgrade
See the usage docs for included functions and classes.
Example usage:
from ifsFractals import *
C1 = Translate(0.5,0.15) @ Rotate(np.pi/4) @ Scale(1/4)
C2 = Scale(1/2)
C3 = Translate(-.5,0.15) @ Rotate(-np.pi/4) @ Scale(1/4)
C4 = Rotate(-np.pi/6) @ Scale(1/2)
C5 = Rotate(np.pi/6) @ Scale(1/2)
CT = [C1, C2, C3, C4, C5]
crab = Fractal(CT)
crab.add_points(1_000_000)
crab.save_pic('/Path/to/desired/location/image_name.png')
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
Hashes for ifsFractals-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc9184b9b73bf9923c7f78e2221ec596c5a5a09f20474a3b69e03663f40e4a8 |
|
MD5 | 0876a0bdeffb5be1d262549f4a976295 |
|
BLAKE2b-256 | d77c4ab93c96091953b42e0a059d83d144c462e9fc55bd8161286e7da680f6ce |