From f556c24a133629a94c795dfdb404a569d6395af1 Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Sun, 22 Jan 2023 18:28:26 -0600 Subject: Added readme, made some small changes to writeup (grammar, changing order of demos) --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..f654e3f --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Building +Just run make. Depends on libpng. + +# Info +This project was my final for CS200 at JCCC. It uses multiple threads to draw the mandelbrot. When one thread is finished, it will communicate with other threads to split the load; work delegation is the main showcase of this project. + +# Writeup +For the writeup portion of this project I did last year, please visit [here](https://git.bpcspace.com/brett/Mandelbrot-CS200/src/branch/master/docs/p4.pdf). +Here you will be able to see demos, as well as flowcharts and pseudo code for some of the functionallity. + +# Problems +Due to the fact I had to complete this project in just a few days, there are a few problems I'd fix if I were to do it again. + +The largest issue is that the thread worker class is not extensible. I have rendering in the same function as thread communication; you should not need to reimpliment the syncronization aspects of the thread just to change how it renders. +Additionally, I'm not sure if there was a simpler way to prevent race conditions then to manually create a mutex when modifying multiple variables. -- cgit v1.2.3