C++ 2D

Open-source C++ projects categorized as 2D

Top 23 C++ 2D Projects

  • AntSimulator

    Simple Ants simulator

  • crown

    The flexible game engine.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • synfig

    This is the Official source code repository of the Synfig project

  • qcad

    QCAD - The Open Source 2D CAD. QCAD is a cross-platform CAD solution for Windows, macOS and Linux. It supports the DXF format and optionally the DWG format (through a proprietary plugin).

  • tgfx

    A lightweight 2D graphics library for rendering texts, geometries, and images with high-performance APIs that work across various platforms.

  • Project mention: TGFX – A Skia-alternative, lightweight, high-performance 2D graphics library | news.ycombinator.com | 2023-11-07
  • ObEngine

    2D Game Engine with Lua Scripting made on top of SFML !

  • Project mention: Not only Unity... | /r/opensourcegames | 2023-11-11
  • jazz2-native

    🎮 · Jazz² Resurrection: Native C++ reimplementation of Jazz Jackrabbit 2

  • Project mention: Lessons from Open-Source Game Projects | dev.to | 2024-04-10

    Jazz 2 Resurrection - Jazz Jack Rabbit 2 clone. C++, OpenGL, SDL2

  • 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.

    InfluxDB logo
  • CavalierContours

    2D polyline library for offsetting, combining, etc.

  • canvas_ity

    A tiny, single-header <canvas>-like 2D rasterizer for C++

  • Project mention: Writing a TrueType font renderer | news.ycombinator.com | 2024-01-01

    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...

  • morphologica

    A library of supporting code for numerical modelling (JSON config, HDF5 data, Modern OpenGL visualization)

  • Fractal_Engine

    WIP 3D game engine with editor and other stuff

  • friction

    Friction Graphics

  • Project mention: Friction – An Open Source 2D Animation Software | news.ycombinator.com | 2024-04-01
  • AnimeEffects

    2D Animation Tool

  • flatland

    A 2D robot simulator for ROS (by avidbots)

  • Creature_Godot

    2D Skeletal Animation Creature Runtime for Godot Engine

  • Heuristic_path_planners

    Collection of classes and functions to allow 2D/3D path generation with heuristic algorithms such as A*, Theta* and LazyTheta* and ROS Interfaces

  • DruidEngine

    Druid Engine - Improving my C++ / OpenGL skills by writing a Game Engine.

  • chronotext-cross

    Cross platform infrastructure for developing 2d and 3d applications with C++ and OpenGL

  • Project mention: 3d typography - Javascriptorium 6/6 (link in the comments) | /r/creativecoding | 2023-05-11

    C++ and OpenGL are used behind the scenes so the pipeline is optimal. I can't think of another combination to make it run faster than it is now (by the way, it runs on the desktop, on mobile devices, and on the browser, without modifying a single line of code, thanks to the chronotext-cross framework.)

  • WelderEngineRevamp

    Major overhaul of the Zero Engine and renaming to Welder.

  • RAG3

    Top-down single/multiplayer shooter game with time manipulation mechanics.

  • ncJump

    🦘 A jumping project powered by nCine

  • cpp-graphics

    C++ 2D Graphics Tests and Examples using SDL2, SFML, GLFW and Dear ImGui

  • retro-game

    a 2d game made in SFML and c++

  • Project mention: C++ Show and Tell - June 2023 | /r/cpp | 2023-06-01
  • SaaSHub

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

    SaaSHub logo
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).

C++ 2D related posts

Index

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

Project Stars
1 AntSimulator 2,204
2 crown 2,016
3 synfig 1,697
4 qcad 1,413
5 tgfx 1,001
6 ObEngine 787
7 jazz2-native 485
8 CavalierContours 371
9 canvas_ity 319
10 morphologica 222
11 Fractal_Engine 174
12 friction 124
13 AnimeEffects 103
14 flatland 94
15 Creature_Godot 84
16 Heuristic_path_planners 63
17 DruidEngine 57
18 chronotext-cross 54
19 WelderEngineRevamp 48
20 RAG3 22
21 ncJump 14
22 cpp-graphics 9
23 retro-game 6

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com