Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

For Generating Fast IFS Fractals

Project description

ifsFractal

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


Download files

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

Files for ifsFractals, version 0.0.14
Filename, size File type Python version Upload date Hashes
Filename, size ifsFractals-0.0.14-py3-none-any.whl (8.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ifsFractals-0.0.14.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page