Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 3 2d-graphics-library Open-Source Projects
2D game engine and editor 💥💣
2D GPU renderer for dynamic UIsProject 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 :)
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 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
2d-graphics-library related posts
htcw_gfx 1.4.6 is released
2 projects | reddit.com/r/esp32 | 5 Mar 2023
Initial SVG support in htcw_gfx 1.4.4
1 project | reddit.com/r/esp32 | 3 Mar 2023
Just got SVG graphics rendering on an ESP32
2 projects | reddit.com/r/esp32 | 28 Feb 2023
Alternatives to LVGL for embedded graphics on a monochrome display?
1 project | reddit.com/r/embedded | 27 Feb 2023
htcw_gfx 1.3.8 is out and published to PIO
1 project | reddit.com/r/esp32 | 1 Feb 2023
Since so many people have a little TTGO Display T1...
2 projects | reddit.com/r/esp32 | 8 Jan 2023
I've updated my Sonos remote code
3 projects | reddit.com/r/esp32 | 13 Dec 2022
A note from our sponsor - Sonar
www.sonarsource.com | 29 Mar 2023
What are some of the best open-source 2d-graphics-library projects? This list will help you: