Skip to content

Render Julia fractals, geometrical shapes with arbitrarily detailed structures, in parallel using OpenMP.

License

Notifications You must be signed in to change notification settings

moocf/julia-fractal.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project demonstrates how to render Julia fractals—geometrical shapes with intricate, self-similar structures—using the C programming language and OpenMP for parallelism. The fractal is visualized and displayed in a window using the tigr.c graphics library.

# You can clone this repository with:
$ git clone <repo url>

# Navigate into the project directory:
$ cd julia-fractal.c

# Then, install the required dependencies (here, `tigr.c`) with:
$ npm install

# Finally, build and run the project:
$ bash build.sh

# The build script uses `clang` with OpenMP support to compile the code.
# The generated executable `a` is then run to display the Julia fractal.

Task

The current code provides a sequential implementation of Julia fractal rendering. Your task is to parallelize the rendering using OpenMP. Measure and report the speedup achieved by the parallel implementation compared to the sequential one.

We will use a leaderboard to track the best speedups across all submissions.


Screenshots



ORG

About

Render Julia fractals, geometrical shapes with arbitrarily detailed structures, in parallel using OpenMP.

Resources

License

Stars

Watchers

Forks