| Age | Commit message (Collapse) | Author |
|
|
|
Stop using the complex standard lib, replaced it with a variables
for the real part and imaginary part of z.
|
|
- Right click to select a new center
- Mouse Wheel to zoom in and out.
- WIP: drag picture with left click
|
|
Replace int color with union to have the posibility to set them with
hexcode and retrive each color separatly as the member of a struct.
|
|
Zooming and moving is proportionnal to the range we are viewing,
feels more natural than incrementing by a constant value.
|
|
Added color palette instead of brighness level to display the set
boundaries.
Vim-like shortcut to move around.
|
|
|
|
|
|
The test to check if something is in the set return -1 else returns the
number of steps, then map the step to a brightness of the pixel.
|
|
Loop throught each pixel and color it black if its in the set,
white otherwise.
This is eavily inspired by the coding train video on the subject.
(https://www.youtube.com/watch?v=6z7GQewK-Ks)
|
|
init, quit and run functions.
Error handling.
|
|
Compute if a number is in Mandelbrot set.
Print it to the terminal.
|