C Graphics

Open-source C projects categorized as Graphics

Top 23 C Graphic Projects

  1. raylib

    A simple and easy-to-use library to enjoy videogames programming

    Project mention: Got into Jai closed beta on March 2026 | news.ycombinator.com | 2026-05-07
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. lvgl

    Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.

    Project mention: LVGL Kft switches to freemium; begins closing modules | news.ycombinator.com | 2026-03-06

    LVGL has begun removing modules from trunk and closing them under licensing fees.

    On GitHub, LVGL Kft accuse developers using the pre-closure MIT licensed XML module of IP theft: https://github.com/lvgl/lvgl/issues/9663#issuecomment-384163...

    Have to read the commit history here: before last October the XML component was MIT licensed, then it was relicensed as proprietary, then removed, then someone appears to have forked an older version.

  4. bgfx

    Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

    Project mention: Minecraft Java is switching from OpenGL to Vulkan | news.ycombinator.com | 2026-02-18
  5. GLFW

    A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

    Project mention: DaVinci Resolve 21 | news.ycombinator.com | 2026-06-03

    > There are frameworks and libraries that handle 100% of clipboard OS specifics

    They're sufficient in many cases, but you'll still sometimes need the control of working with COM/etc. directly, and those libraries don't fully save you from platform-specific bugs (e.g: https://github.com/glfw/glfw/issues/2644).

    > the app in question has no use for system clipboard in the first place

    What do you expect to happen when you copy some text from an external editor into a text field?

  6. chafa

    📺🗿 Terminal graphics for the 21st century.

    Project mention: yazi: Rust Terminal File Manager with Image Preview — Alacritty Fix Included | dev.to | 2026-04-21

    On macOS, Überzug++'s X11/Wayland backend is disabled at compile time, so it can't overlay images. yazi automatically falls back to Chafa, which renders images using Unicode block characters inside the terminal.

  7. gpac

    GPAC Ultramedia OSS for Video Streaming & Next-Gen Multimedia Transcoding, Packaging & Delivery

  8. NyuziProcessor

    GPGPU microprocessor architecture

  9. GCanvas

    A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎) https://alibaba.github.io/GCanvas

  10. RGFW

    A lightweight single-header cross-platform library for general windowing

  11. herebedragons

    A basic 3D scene implemented with various engines, frameworks or APIs.

  12. HandmadeMath

    A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify.

    Project mention: Sp.h is the standard library that C deserves | news.ycombinator.com | 2026-05-23

    sp_math.h is, as noted at the top of the file, a repackaging of https://github.com/HandmadeMath/HandmadeMath

    It is not part of the core library. It is certainly not meant as a reference-level implementation of math functions. It's there so you can write an easing function for a game without pulling in libc. It seems like its existence has offended you. If that's the case...I'm sorry? At every possible point, I note as loudly as possible exactly what that library is. I found your tone extremely dismissive and disrespectful and I don't care to engage with that any more than I already have.

  13. lopaka

    Lopaka - Stunning graphics for embedded systems displays

    Project mention: Lopaka: Create pixel-perfect graphics for microcontrollers | news.ycombinator.com | 2026-02-04
  14. lv_port_esp32

    LVGL ported to ESP32 including various display and touchpad drivers

  15. PortableGL

    An implementation of OpenGL 3.x-ish in clean C

    Project mention: rlsw – Raylib software OpenGL renderer in less than 5k LOC | news.ycombinator.com | 2025-10-21

    Not sure what the line count is, but PortableGL is a software renderer for 3.x(ish):

    https://github.com/rswinkle/PortableGL

    Cool project, and fun to play with.

  16. bonsai

    The procedural generation voxel engine

    Project mention: Perfect Software – Software for an Audience of One | news.ycombinator.com | 2025-12-23

    By the authors definition, I've been writing perfect software for over a decade.

    It's never required LLMs. In fact, I think the idea that "LLMs allow us to write software for ourselves" borders on missing the point, for me at least. I write software for myself because I like the exploratory process .. figuring out how do do something such that it works with as little friction as possible from the side of the user; who is of course myself, in the future.

    I like nitpicking the details, getting totally side-tracked on seemingly frivolous minutiae. Frequently enough, coming to the end of a month long yak-shave actually contributes meaningful insight to the problem at hand.

    A few of my 'perfect' projects

    https://github.com/scallyw4g/bonsai

    https://github.com/scallyw4g/poof

    https://scallywag.software

  17. Vortice.Windows

    .NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.

  18. gigi

    A framework for rapid prototyping and development of real-time rendering techniques.

  19. foolrenderer

    A tiny software renderer implemented from scratch without the use of graphics API, used to understand how GPUs work.

  20. par

    single-file C libraries from Philip Allan Rideout

  21. GD

    GD Graphics Library

  22. c-ray

    c-ray is a small, simple path tracer written in C

  23. vkvg

    Vulkan 2D graphics library

  24. vulkan

    Vulkan API bindings for Go programming language (by vulkan-go)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Graphics discussion

Log in or Post with

C Graphics related posts

Index

What are some of the best open-source Graphic projects in C? This list will help you:

# Project Stars
1 raylib 33,258
2 lvgl 23,679
3 bgfx 17,120
4 GLFW 15,068
5 chafa 4,878
6 gpac 3,256
7 NyuziProcessor 2,189
8 GCanvas 1,918
9 RGFW 1,798
10 herebedragons 1,794
11 HandmadeMath 1,566
12 lopaka 1,483
13 lv_port_esp32 1,259
14 PortableGL 1,255
15 bonsai 1,223
16 Vortice.Windows 1,217
17 gigi 1,162
18 foolrenderer 1,135
19 par 987
20 GD 974
21 c-ray 858
22 vkvg 809
23 vulkan 801

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C is
the 6th most popular programming language
based on number of references?