Skip to main content

This is a command line application to generate Mandelbrot Set point orbits. An orbit is the series of values for the basic Mandelbrot Set formula: f(z) = z² + c

Please have a look at the repo on GitHub: https://github.com/josecelano/mandelbrot-orbit

Usage

Generate orbit graph for point (-1.3,0) with 100 iterations:

$ python3 -m mandelbrot_orbit -1.3 0 100
Executing mandelbrot-orbit version 1.0.0.
List of argument strings: ['-1.3', '0', '100']

That command will generate an image mandelbrot_orbit.png

Flexible invocation

The application can be run right from the source directory, in different ways:

  1. Treating the mandelbrot_orbit directory as a package and as the main script:

    $ python3 -m mandelbrot_orbit zx zy num_iterations
    Executing mandelbrot-orbit version 1.0.0.
    List of argument strings: ['zx', 'zy', 'num_iterations']
  2. Using setup.py develop (documented here):

    # This installs the `mandelbrot-orbit` command linking back
    # to the current checkout, quite neat for development!
    $ python setup.py develop
    ...
    $ mandelbrot-orbit zx zy num_iterations
  3. Using the mandelbrot-orbit-runner.py wrapper:

    $ ./mandelbrot-orbit-runner.py zx zy num_iterations
    Executing mandelbrot-orbit version 1.0.0.
    List of argument strings: ['zx', 'zy', 'num_iterations']

Installation sets up bootstrap command

Situation before installation:

$ mandelbrot-orbit
bash: mandelbrot-orbit: command not found

Installation right from the source tree (or via pip from PyPI):

$ python3 setup.py install

Now, the mandelbrot-orbit command is available:

$ mandelbrot-orbit -1.3 0 100
Executing mandelbrot-orbit version 1.0.0.
List of argument strings: ['-1.3', '0', '100']

On Unix-like systems, the installation places a mandelbrot-orbit script into a centralized bin directory, which should be in your PATH. On Windows, mandelbrot-orbit.exe is placed into a centralized Scripts directory which should also be in your PATH.

Release files for mandelbrot-orbit 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mandelbrot-orbit 1.1.0
File Size Uploaded
mandelbrot_orbit-1.1.0.tar.gz 3.7 kB Details

Release files / mandelbrot_orbit-1.1.0.tar.gz

Download URL mandelbrot_orbit-1.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8da7f890520ecbe6ec14d86079196a0f3c92219ab3c8ee05d30eb19f297f33d4
BLAKE2b-256 checksum
How to use checksums
0be7c222f8a9ffa6c57af60c5f5e2db921b030a8e012983ad7370b9fd0ba1a29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page