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: GNU Make Standard Library | news.ycombinator.com | 2025-02-05

    I don’t have a review, but here’s a significant project using it in a complicated cross platform build with different systems dependencies: https://github.com/raysan5/raylib/blob/master/build.zig

    They also have a cmakelists.txt to compare against.

    One of the nicer things is that if you’re working with less technical folks, they only need to download the zig binary because it bundles the entire toolchain.

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. lvgl

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

    Project mention: Writing GUI applications on the Raspberry Pi without a desktop environment | news.ycombinator.com | 2024-07-06

    LVGL is pretty much the IOT industry standard for 32-bit architectures like Renesas RX, Arm Cortex-M, ARC, TI MSP, Atmel...

    https://lvgl.io/

  4. GLFW

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

    Project mention: The Failures Of API Design | dev.to | 2024-10-04

    Why would any software developer use an API? Well, it's not to get rid of that shirt stain you had for the last three days that's for sure. Instead, we crazy bunch use APIs to progress our software development at a faster rate. I don't really want to work with the Windows API nor do I care to open the rotten can of sardines that is the X11 API. But, thankfully, I don't have to. There are plenty of APIs that handle that for me. And they handle it very nicely too. GLFW is one of these APIs. Easy to use, fast to set up, and overall doesn't have any overhead. Handles window creation, input, and any operating system-specific stuff. It solves a clear and appropriate problem. Left pad, however, is the complete opposite. Does it solve a problem? Sure it does... if you were hit on the head with a baseball bat 17 times. Can't I at least add padding to any direction? No? Does it just have to be the left? Even though we C++ folks can say that the JavaScript weirdos are the only ones who would do such a heinous thing, that wouldn't be the entire story. It would be hypocritical even to assume that all of the useless APIs exist only in the JS ecosystem. Although being hypocritical is my strong point, even I would stop you right there. If there is an ecosystem that would be perfect for breeding unnecessarily complex, widely inefficient, and completely useless libraries, it would be C++... Rust would come at a close second but C++ is the mother of all useless and complex libraries.

  5. chafa

    📺🗿 Terminal graphics for the 21st century.

  6. gpac

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

  7. NyuziProcessor

    GPGPU microprocessor architecture

    Project mention: Tiny GPU: A minimal GPU implementation in Verilog | news.ycombinator.com | 2024-04-24

    Nice! I warmly encourage open-core GPU work.

    Here's another: https://github.com/jbush001/NyuziProcessor

  8. GCanvas

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

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. herebedragons

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

  11. HandmadeMath

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

  12. PortableGL

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

  13. foolrenderer

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

  14. lv_port_esp32

    LVGL ported to ESP32 including various display and touchpad drivers

  15. GD

    GD Graphics Library

  16. par

    single-file C libraries from Philip Allan Rideout

  17. RGFW

    A cross platform lightweight single-header simple-to-use window abstraction library for creating graphical programs or libraries.

    Project mention: RGFW: Single-header C99 window abstraction library | news.ycombinator.com | 2024-11-22
  18. c-ray

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

  19. vkvg

    Vulkan 2D graphics library

  20. vulkan

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

  21. ascii_art

    Real-Time ASCII Art Rendering Library (by symisc)

  22. datoviz

    ⚡ Datoviz: high-performance GPU scientific data visualization C/C++/Python library

    Project mention: Show HN: Datoviz 0.2.0, Vulkan-based GPU scientific visualization (C/C++/Python) | news.ycombinator.com | 2024-08-05
  23. showtext

    Using Fonts More Easily in R Graphs

  24. sokol_gp

    Minimal modern efficient cross platform 2D graphics painter in C

  25. Partio

    C++ (with python bindings) library for easily reading/writing/manipulating common animation particle formats such as PDB, BGEO, PTC. https://wdas.github.io/partio

  26. SaaSHub

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

    SaaSHub logo
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

  • Large Collection of Interactive(WASM) Creative Coding Demos C99 OpenGL/WebGL

    1 project | news.ycombinator.com | 2 Feb 2025
  • The Failures Of API Design

    4 projects | dev.to | 4 Oct 2024
  • SDL3 new GPU API merged

    25 projects | news.ycombinator.com | 29 Aug 2024
  • Show HN: Datoviz 0.2.0, Vulkan-based GPU scientific visualization (C/C++/Python)

    1 project | news.ycombinator.com | 5 Aug 2024
  • macOS 14.4 causes JVM crashes

    2 projects | news.ycombinator.com | 16 Mar 2024
  • Technical Considerations for GUI Toolkits [Discussion]

    1 project | /r/compsci | 11 Dec 2023
  • Technical Considerations for GUI Toolkits [Discussion]

    2 projects | /r/learnprogramming | 11 Dec 2023
  • A note from our sponsor - Nutrient
    nutrient.io | 16 Feb 2025
    Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free. Learn more →

Index

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

# Project Stars
1 raylib 24,909
2 lvgl 18,291
3 GLFW 13,450
4 chafa 3,176
5 gpac 2,902
6 NyuziProcessor 2,044
7 GCanvas 1,888
8 herebedragons 1,735
9 HandmadeMath 1,300
10 PortableGL 1,071
11 foolrenderer 1,070
12 lv_port_esp32 1,069
13 GD 913
14 par 885
15 RGFW 854
16 c-ray 811
17 vkvg 772
18 vulkan 761
19 ascii_art 719
20 datoviz 615
21 showtext 488
22 sokol_gp 481
23 Partio 466

Sponsored
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io

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