Code Monkey home page Code Monkey logo

parallel-mandelbrot's Introduction

Mandelbrot set visualization using mpi4py

This repository contains a simple parallel implementation of a mandelbrot set visualizer. The program generates PNG images visualizing the mandelbrot fractal centered at customizable points and with customizable scale and resolution. The parallel implementation uses mpi4py (MPI + Python).

The repository includes the following codes:

  • seq_mandelbrot.py, a reference sequential implementation of the program.
  • par_mandelbrot.py, the parallelized version using mpi4py.

These programs were developed for educational purposes. They were intended to be used as example programs in an educational computing cluster comprising 8 Raspberry Pi 3B+ (up to 32 cores/processes), to demonstrate the speedup capabilities of parallel computing / supercomputers to high-school students.

The code for these programs is greatly based on Draw the Mandelbrot Set in Python.

Dependencies

  • mpi4py
  • matplotlib (for the color palette)
  • numpy (included with matplotlib)
  • pillow

TODO

Currently, the customizable parameters of the programs are hard-coded. In the future, the user will be able to set them using command-line arguments.

The output of the programs will also be modified to provide more useful metrics and information, taking into account the context for which this program is developed.

parallel-mandelbrot's People

Contributors

0xb01u avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.