Skip to content

VickySekhon/julia-set-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

julia-set-renderer

Julia Set Generation Using mpi4py and OpenGL.

Virtual Environment Setup and Dependency Installation

1. Create a Virtual Environment

python3 -m venv venv

2. Activate the Virtual Environment

  • On Unix
    source venv/bin/activate
  • On Windows:
    venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

You can verify the installation by checking that mpi4py is installed:

python3 -c "from mpi4py import MPI; print('MPI4PY installed successfully')"

Commands

Running Parallel Fractal Generation

  • On Unix
mpirun -np <number-of-processors> python3 ./main.py -- <a+bj> <dimension-of-image>
  • On Windows
mpiexec -n <number-of-processors> python3 ./main.py -- <a+bj> <dimension-of-image>

Running Fractal Renderer

  • On Windows
python3 main.py -- <a+bj> <dimension-to-rerender-fractal> <path-to-fractal-npy-array>

About

A Parallel Program That Computes the Complex Plane Projection of a Julia Set Using mpi4py and Renders It Using OpenGL

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors