Open-source projects categorized as 2d-graphics-library
Language: + C++ + Rust + C

Top 3 2d-graphics-library Open-Source Projects

  • detonator

    2D game engine and editor 💥💣

  • vger-rs

    2D GPU renderer for dynamic UIs

    Project mention: Vector Graphics on GPU | news.ycombinator.com | 2022-08-10

    I've done a library for vector graphics on the GPU which works pretty well for my uses:


    and a rust version:


    (which powers my rust GUI library: https://github.com/audulus/rui)

    Here's the approach for rendering path fills. From the readme:

    > The bezier path fill case is somewhat original. To avoid having to solve quadratic equations (which has numerical issues), the fragment function uses a sort-of reverse Loop-Blinn. To determine if a point is inside or outside, vger tests against the lines formed between the endpoints of each bezier curve, flipping inside/outside for each intersection with a +x ray from the point. Then vger tests the point against the area between the bezier segment and the line, flipping inside/outside again if inside. This avoids the pre-computation of Loop-Blinn, and the AA issues of Kokojima.

    It works pretty well, and doesn't require as much preprocessing as the code in the article. Also doesn't require any GPU compute (though I do use GPU compute for some things). I think ultimately the approach in the article (essentially Piet-metal, aka tessellating and binning into tiles) will deliver better performance, and support more primitives, but at greater implementation complexity. I've tried the Piet-metal approach myself and it's tricky! I like the simpler Shadertoy/SDF inspired approach :)

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • gfx

    GFX is a device independent graphics library primarily intended for IoT MCUs but not limited to that. (by codewitch-honey-crisis)

    Project mention: htcw_gfx 1.4.6 is released | reddit.com/r/esp32 | 2023-03-05
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-03-05.

2d-graphics-library related posts


What are some of the best open-source 2d-graphics-library projects? This list will help you:

Project Stars
1 detonator 228
2 vger-rs 128
3 gfx 65
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives