plutovg
Tiny 2D vector graphics library in C (by sammycage)
evec
Easy to use header only vector data type for C programs. (by mgrosvenor)
plutovg | evec | |
---|---|---|
7 | 6 | |
296 | 7 | |
- | - | |
0.0 | 0.0 | |
3 months ago | over 3 years ago | |
C | C | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
plutovg
Posts with mentions or reviews of plutovg.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-20.
- 2D graphics lib recommendation?
-
Supersample CRGB array
Sub-pixel positioned anti-aliased lines and dots are simple. Extending that idea to drawing any shape is far more fiddly. I found this excellent rasteriser and this article which explains how it works. PlutoVG wraps that rasteriser in an easy-to-use API. I'm very happy with the results.
- Tiny 2D vector graphics library in C
- PlutoVG - Tiny 2D vector graphics library in C
evec
Posts with mentions or reviews of evec.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-23.
-
C_dictionary: A simple dynamically typed and sized hashmap in C - feedback welcome
There's a few ways to address this. This library has a good explanation of one of them here.
-
help with dynamic memory.
It's a good exercise to do this for yourself, but if you're doing this more than once, you might want to look at an existing dynamic array implementation that you can just drag in to your work. There are many of these, if you google for "dynamic array" you'll find lots of implementations. Personally I quite like this one.
-
What were some of your biggest breakthroughs while learning C?
Take a look here for an example that is relatively easy to read and understand (but not the best performance): https://github.com/mgrosvenor/evec
-
How to create an array of char pointers dynamically ??
Here’s a super easy to use dynamic array (vector). It will grow to accommodate more entries so it’s “safe” from the issues you mention: https://github.com/mgrosvenor/evec
-
Vectors
There's LOTs of libraries. I wrote one: https://github.com/mgrosvenor/evec
-
A std::vector style generic dynamic array inspired by on klib's kvec and stb's streachy_buffers.
I'm curios how evec stands up with your testing. Especially with/without pedantic mode (`#define pedantic 0` vs #define pedantic 1`).
What are some alternatives?
When comparing plutovg and evec you can also consider the following projects:
plutosvg - Tiny SVG rendering library in C
CC - A small, usability-oriented generic container library.
vkvg - Vulkan 2D graphics library
vector - A high-performance observability data pipeline.
cglm - 📽 Highly Optimized 2D / 3D Graphics Math (glm) for C
SmartMatrix-playpen - A testing ground for SmartMatrix effects
GCanvas - A lightweight cross-platform graphics rendering engine. (超轻量的跨平台图形引擎) https://alibaba.github.io/GCanvas
nanovg - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
olive.c - Simple 2D Graphics Library for C
tigr - TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android.
nanovg-zig - A small anti-aliased hardware-accelerated vector graphics library