This library provides the most minimal and highly opinionated way to display a cross-platform 2D canvas. If you remember Borland BGI or drawing things

GitHub - zserge/fenster: The most minimal cross-platform GUI library

submited by
Style Pass
2023-01-23 22:00:13

This library provides the most minimal and highly opinionated way to display a cross-platform 2D canvas. If you remember Borland BGI or drawing things in QBASIC or INT 10h- you know what I mean. As a nice bonus you also get cross-platform keyboard/mouse input and audio playback in only a few lines of code.

API is designed to be a polling loop, where on every iteration the framebuffer get updated and the user input (mouse/keyboard) can be polled.

See examples/drawing-c for more old-school drawing primitives, but also feel free to experiment with your own graphical algorithms!

Leave a Comment