Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 9 C++ 2d-graphic Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Skity
A light weight 2D Vector Graphic renderer library writing in c++ for OpenGL3.3+ / OpenGLES3.0+ / Vulkan 1.1+/ WebGL2 with WASM
-
jle
'Jet-Lagged Engine' is a work-in-progress C++/Lua game engine supporting Windows, Linux, Mac and browsers.
-
Game-Engine-Development-Series
Game Engine Development Series - Learn to code a Game Engine in C++ from scratch
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
neuro-evolution-simulation
Organisms evolving in a simulated ecosystem - an artificial life simulation.
Blend2D: https://blend2d.com/
I have a small TTF implementation that's in the neighborhood of that size and is open source. It's part of my canvas_ity single-header library [0] that's around 2300 LOC / 36 KB object size and implements a C++ version of most of the 2D HTML5 canvas spec [1].
The core implementation of the TTF parsing and drawing is in L1526-L1846 with another small bit at L3205-L3274 of src/canvas_ity.hpp.
It's something of a toy implementation that only supports western left-to-right text, and doesn't do any hinting at all, nor kerning, nor shaping. But it's enough to draw a basic "Hello world!" using any typical TTF file.
The test suite in test/test.cpp L84-304 embeds a few custom Base64-encoded TTF files. They're small and only have a few glyphs but they do exercise a number of interesting edge cases in the OpenType TTF spec [2]. Have a look at the HTML5 port of the test suite at test/test.html in different browsers to see how their canvas implementations render those fonts.
[0] https://github.com/a-e-k/canvas_ity
[1] https://www.w3.org/TR/2015/REC-2dcontext-20151119/
[2] https://standards.iso.org/ittf/PubliclyAvailableStandards/c0...
Project mention: Wanted to share my game engine, if anyone's interested. It's C++, and quite capable-ish. | /r/cpp | 2023-09-26
C++ 2d-graphics related posts
-
Does anyone know any good open source project to optimize?
-
Blend2D – Fast 2D vector graphics library
-
Anime Effects – an open-source 2D animation app
-
Gimel Studio: Non-destructive, 2D image editor
-
Blending Modes
-
A tiny, single-header -like 2D rasterizer for C++
-
Real-Time Evolution Simulation using genetic algorithms and neural networks.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 6 May 2024
Index
What are some of the best open-source 2d-graphic projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | blend2d | 1,467 |
2 | canvas_ity | 319 |
3 | Skity | 191 |
4 | jle | 125 |
5 | AnimeEffects | 104 |
6 | Game-Engine-Development-Series | 70 |
7 | cpp-graphics | 9 |
8 | Memake | 2 |
9 | neuro-evolution-simulation | 2 |
Sponsored