#####Fractal exploration project.
#####Grade (117/100)
(117/118)*
Goals:
- Use "minilibX", school's truncated version of "X11".
- Read arguments to choose wich fractal to show.
- Mandelbrot set. Zoom with mouse scroll.
- Julia sets. Zoom with mouse scroll. Mouse position defines wich Julia to show.
- One more fractal. Zoom with mouse scroll.
Recommended bonuses:
- Movements.
- Change colors on key press.
- More fractals.
- 3d representation.
- Open two frames for two fractals, at the same time.
My additions:
- Sierpinsky carpet, as a third fractal.
- "+/-" keys to change the number of loops.
- Time dependant movements, instead of CPU dependant. (events.c) (libft/srcs/ft_clock[...].c)
- Multi thread rendering. (draw_screen_async.c)(Edit makefile before compilation, lines 24-30)
- SDL compatibility. (dirty)
Usage:
make
./fractol JMS
All my C files strictly observes school's norm, it may often lead to odd or illogical syntaxes.
- [ ] Forbiden keywords: for, do, switch, goto.
- [ ] No more than 25 lines inside a function block.
- [ ] No more than 80 characters per lines.
- [ ] At most 5 functions per files.
- [ ] Only 1 declaration per line.
- [ ] No declaration and assignation on the same line.
- [ ] At most 1 assignation per line.
- [ ] No more than 4 parameters for a function.
- [ ] No nested ternary.
- [ ] Comments alowed at the top of the file.
*
- A grade of 85 was required to validate the project.
- A maximum grade of 118 was reachable.
- Second sessions are organised for failed projects.