Skip to content

honzadolezil/Multithread-computation-of-Julia-set

Repository files navigation

Welcome to the most advanced Julia's set visualiser ever known to mankind. Author: Jan Dolezil

PRE LAUNCH: the program needs to have fifo pipes. you can use included script create_pipes.sh or you can create them yourself: -> mkfifo /tmp/pipe.out -> mkfifo /tmp/pipe.in

LAUNCH two programs need to be launched: ./module ./prgsem-main

ARGUMENTS if you want to modify the code with your own arguments, you can launch the prgsem-main with: ./prgsem-main <c_re> <c_im> <d_im> <d_re>

    where <c_re> is real constant of C in julia set (double)
          <c_im> is imaginary part of constant C in julia set (double)
          <im>   is a start of computation (imaginary coordinate) (double)
          <re>   is a start of computation (real coordinate) (double)
          <d_im> is a step per pixel of imaginary part of number (double)
          <d_re> is a step per pixel of real part of number (double)
          <n>    is number of iteration of the julia set (uint8_t)
          <resolution> is a resolution of the render (specify by integer number from selection below):
                '1' 758x576 
                '2' 640x480
                '3' 832x624
         

    NOTE: you need to include all parameters when launching code - otherwise the program will 
          run with default values! If your parameter input is incorrect the program will also run 
          with default.

IN APP CONTROL: press: 'r' - reset cid for remote computation 'g' - get firmware version of the computation module 'c' - compute and visualise julia set locally 's' - send computation data to computation module '1' - wake up compuation module and draw results 'l' - redraw default color 'd' - download current window as PNG (*BONUS) 'q' - escape the program - close all threads - clean exits both module and main 'a' - abort current computation (for 1 - local computation cant be aborted - takes less time than human reaction time). remote computing can be aborted either from main or from module.

About

Semestral project for multithreaded computation of Julia set

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages