Skip to main content

A simple fractal generator

Project description

Fractals

Simple fractal generator

Installation

pip install fractals

Usage

from PIl import Image
import fractals
img = Image.new('RGB', (5000, 5000), (0, 0, 0))
figures = Figures(im=img)
figures.von_koch_curve_flake((2500, 2500), 2000,6)
img.save("test.bmp") 

Documentation

Complete documentation can be found (here)[]

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 fractals, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size fractals-0.0.1-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fractals-0.0.1.tar.gz (4.5 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