C Graphics

Open-source C projects categorized as Graphics

Top 23 C Graphic Projects

  • raylib

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

    Project mention: Is automatic like break possible? | reddit.com/r/raylib | 2023-02-04

    Code for that is here: https://github.com/raysan5/raylib/blob/master/examples/text/text_rectangle_bounds.c

  • lvgl

    Embedded graphics library to create beautiful UIs for any MCU, MPU and display type. It's boosted by a professional yet affordable drag and drop UI editor, called SquareLine Studio.

    Project mention: Embedded gui interfaces | reddit.com/r/embedded | 2023-01-30

    Have you considered https://lvgl.io ?

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • GLFW

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

    Project mention: On M1 Macbook Air with Ventura 13.1, starting graphical programs from terminal print stack trace starting with _ZN15MenuBarInstance22EnsureAutoShowObserverEv | reddit.com/r/mac | 2023-01-25

    Related issue on the glfw github

  • gpac

    Modular Multimedia framework for packaging, streaming and playing your favorite content, see http://netflix.gpac.io

    Project mention: static builds of mp4box | reddit.com/r/ffmpeg | 2022-07-18

    I know this isn't actually ffmpeg, but I think of mp4box as being ffmpeg-adjacent so I thought I'd ask here. Does anyone know if there are reliable static builds of just mp4box online anywhere? All I seem to be able to find on GPAC's site is either a big ol dynamically linked install, or instructions on how to build the mp4box-only binary locally yourself https://github.com/gpac/gpac/wiki/Build-Introduction

  • chafa

    📺🗿 Terminal graphics for the 21st century.

    Project mention: UPDATE: image.nvim - Color Support | reddit.com/r/neovim | 2023-01-28

    There's also https://github.com/princejoogie/chafa.nvim, which wraps https://github.com/hpjansson/chafa Did you know about that? I wonder what the differences between your plugin and that one are?

  • GCanvas

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

    Project mention: Change the color inside of the drawing ??? | reddit.com/r/reactnative | 2022-08-03

    You probably want to use something canvas-like, maybe this: https://github.com/alibaba/GCanvas

  • herebedragons

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

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • NyuziProcessor

    GPGPU microprocessor architecture

  • zig-gamedev

    Building game development ecosystem for @ziglang!

    Project mention: zig-gamedev project: Monthly Progress Report (January 2023) | reddit.com/r/Zig | 2023-02-04
  • mesa

    Mesa 3D graphics library (read-only mirror of https://gitlab.freedesktop.org/mesa/mesa/)

    Project mention: Exploring Rust for Vulkan drivers, part 1 | news.ycombinator.com | 2023-02-02

    For the curious (I was), I believe this is the associated commit: https://github.com/Mesa3D/mesa/commit/f2e535e4fed5bdc13e11a4...

  • HandmadeMath

    A simple math library for games and computer graphics. Compatible with both C and C++.

    Project mention: Matrix multiplication in C | reddit.com/r/C_Programming | 2023-01-14
  • par

    single-file C libraries from Philip Allan Rideout

    Project mention: Sphere with GLEW and GLFW | reddit.com/r/opengl | 2022-11-25

    You can generate various shapes including spheres with par_shapes https://github.com/prideout/par

  • GD

    GD Graphics Library

  • lv_port_esp32

    LVGL ported to ESP32 including various display and touchpad drivers

    Project mention: LVGL Touchscreen Calibration Issue | reddit.com/r/embedded | 2022-03-29

    Hi, I use this code and a ESP32 and a ILI9341 2.8'TFT_LCD 240*320 RGB with touch. As you can see in this GIF the touch screen does not work correctly and I think it needs calibration but I do not know how to do this. The setting in Menuconfig is like below.

  • foolrenderer

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

    Project mention: I wrote a software renderer while learning graphics | reddit.com/r/GraphicsProgramming | 2022-07-20

    Also we recommend to put a comment with the link to the github. Here is for the ones searching for it: https://github.com/cadenji/foolrenderer

  • PortableGL

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

    Project mention: Olive.c: a simple graphics library that does not have any dependencies | news.ycombinator.com | 2022-09-21

    Yeah PortableGL will never be completely fully featured, not even for OpenGL 3.3 since I'll definitely never do the geometry shader and probably not the transform feedback. But specifically it'll never have the earlier immediate mode stuff, or some of the big 4.0 stuff like the tessellation shaders. I have been meaning to add the DSA functions where they make sense. They'd be really simple to implement.

    Actually a few days ago someone sent me a pull request adding an interesting project to my README


    So now if I were to try to sum up all the OpenGL software implementations I can think of,

    TinyGL (and modern improved forks) = OpenGL 1.1-1.3 ish

  • vulkan

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

    Project mention: 3D graphics library | reddit.com/r/golang | 2022-08-28

    You might want to try vulkan-go: https://github.com/vulkan-go/vulkan

  • ascii_art

    Real-Time ASCII Art Rendering Library (by symisc)

    Project mention: Some take their meetings from home – I do it from the matrix | news.ycombinator.com | 2022-10-02
  • c-ray

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

  • datoviz

    ⚡ High-performance GPU interactive scientific data visualization with Vulkan

  • Partio

    C++ (with python bindings) library for easily reading/writing/manipulating common animation particle formats such as PDB, BGEO, PTC. See the discussion group @ http://groups.google.com/group/partio-discuss

    Project mention: [Project] I dabble with VFX and want to try out neural-flow-style to stylise smoke sims. Where do I start? | reddit.com/r/MachineLearning | 2022-04-05

    - [Partio](https://github.com/wdas/partio)

  • sokol_gp

    Minimal modern efficient cross platform 2D graphics painter in C

    Project mention: How long should i learn C as first language before moving to another such as python? | reddit.com/r/cprogramming | 2022-06-12

    For anyone looking for some graphics libraries to start with: * https://www.raylib.com/ * https://github.com/edubart/sokol_gp * https://www.libsdl.org/index.php * https://www.sfml-dev.org/ * https://liballeg.org/

  • libmypaint

    libmypaint, a.k.a. "brushlib", is a library for making brushstrokes which is used by MyPaint and other projects.

  • SaaSHub

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

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). The latest post mention was on 2023-02-04.

C Graphics related posts


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

Project Stars
1 raylib 11,604
2 lvgl 11,224
3 GLFW 10,153
4 gpac 2,071
5 chafa 1,907
6 GCanvas 1,791
7 herebedragons 1,657
8 NyuziProcessor 1,650
9 zig-gamedev 1,290
10 mesa 914
11 HandmadeMath 836
12 par 791
13 GD 780
14 lv_port_esp32 716
15 foolrenderer 673
16 PortableGL 671
17 vulkan 671
18 ascii_art 661
19 c-ray 607
20 datoviz 420
21 Partio 416
22 sokol_gp 277
23 libmypaint 275
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives