Skip to content

Repository for visualising the Mandelbrot and Julia sets

License

Notifications You must be signed in to change notification settings

TommiKabelitz/Mandelpy

Repository files navigation

Mandelbrot

Repository for visualising Mandelbrot and Julia sets

out

Features

  • Customisable visualisation of Mandelbrot and Julia sets
  • Zoom in and out with left/right click
  • Optional MPI support (Runs much faster on multiple processes)
  • Customisable zoom rate
  • Jump to specified zoom level
  • Customisable colour mapping
  • Basic runscript provided
    • Simple interface if desired

Requirements

  • Python modules may be as usual installed with pip install -r {requirements_file}
  • Will run with the modules in minimal_requirements.txt
    • No change required
  • To run with MPI, require
    • a working MPI implementation supporting MPI-3
      • eg. OpenMPI
    • mpi4py (included in mpi_requirements.txt)

Usage

  • May be called without MPI using

python3 run.py mandelbrot

or

python3 run.py julia -c {real_c} {imag_c}.

  • The c value is optional in both cases and will be randomised for the Julia set if not provided.
  • If running on multiple processes, simply prepend the above with the appropriate MPI syntax
    • eg mpiexec -np {num_proc} with OpenMPI
  • Customisation possible through parameters.yml

About

Repository for visualising the Mandelbrot and Julia sets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages