- C++ Program to draw simple julia set via OpenGL(GLFW)
sudo apt-get install libglfw3 libglfw3-dev libglm-dev libglew2.2 libglew-dev
-
Clone the Repo
git clone https://github.com/keitayoneda/JuliaSet.git
-
Build program
cd build && cmake ..
make
-
execute program
./cpu
or./gpu
-
a window will be opened and julia set would be shown
-
Each pixel
$(x, y) \in \mathbb{R}^2$ denotes Complex Number$z=x+yi$ -
If the recurrence
$z_{n+1} = z_n^2+c, \ z_0 = z$ does not diverge,$z$ is included in Julia Set$J(f), \ f(z)=z^2+c$ -
You can change Constant
$c \in \mathbb{C}$ by mouse left button