Discover 2D programming and the psychedelic universe of fractals in this project, using minilibX.
First of all, we should take into account that the
mlx_pixel_putfunction is very, very slow. This is because it tries to push the pixel instantly to the window (without waiting for the frame to be entirely rendered). Because of this sole reason, we will have to buffer all of our pixels to a image, which we will then push to the window.
- The
minilibx-linux.tgzhas some man pages that are not in the other provided compressed files.
- In order to convert from
manformat topdf, use commandman -Tpdf man > man.pdfas suggested here.
- Use command
manpathto list all the folders wheremanwill look for files - Copy the files into one of the folders listed
sudo cp minilibx-linux/man/man3/* /usr/local/man/man3- Now just type
man mlxto check the manual
MiniLibX(3) Library Functions Manual MiniLibX(3)
NAME
MiniLibX - Simple X-Window Interface Library for students
SYNOPSYS
#include <mlx.h>
void *
mlx_init ();
DESCRIPTION
MiniLibX is an easy way to create graphical software, without any X-Window programming knowl‐
edge. It provides simple window creation, a drawing tool, image and basic events management.