Skip to content

The MacroLibX

Rewritten version of the minilibx graphics API used at 42school, using SDL2 & Vulkan.

The MacroLibX is a fast, easy to use, cross-platform graphics library to create applications without having to work directly with low level graphics APIs. It provides a simple window management and primitive tools for drawing onto the window such as displaying images from disk or drawing pixels directly.

Lightning fast

Built on top of Vulkan, the MacroLibX takes advantage of its very low-level nature to achieve high performance with great control over available resources.

Close to the old minilibx

One of the guidelines of this lib was to get as close as possible to the old minilibx API, and therefore to the educational choices of the old minilibx.

It's all FOSS

Everything in the MacroLibX is entirely free and open source, all available under the MIT license (even the third-party libraries used).

Cross-platform

Designed to be totally cross-platform, it can run on any SDL2-supported platform that supports Vulkan (even the Nintendo Switch ! theoretically… ).

Brought to you by

The best coalition of all the 42 campuses in the world and if you don’t agree that’s your problem