Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.23 KB

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