Stars: MiniFB

Published on Nov 27, 2018.

Another library which does one thing and does it well.

Repo MiniFB emoon/minifb: a small cross platform library to create a frame buffer that you can draw pixels in
License MIT
Language C
Status Complete. Supported. Several commits a year.


MiniFB is a pretty simple library from a user’s perspective. It only exports three functions. With it you can create a window on all desktop platforms (well, all that matter) and draw to it by simply filling a buffer. Basically coding it like it’s 1989 (Back then people used to just get a pointer to the video memory and simply write each frame to it with memcpy. Those were the days!)

Whether you’re making a simple ray-tracer or a port of a game from the 80s, this library can save you many hours if not days of boilerplate.

This post is part of my Project Stars where I post a short review for each of the 500+ repos that I’ve starred on GitHub.
For more posts of this series see the tag stars in this blog.

Tags: stars graphics

Leave a comment