# thorvg/thorvg

A production-ready C++ vector graphics engine supporting SVG and Lottie formats, featuring advanced rendering backends such as WebGPU for high-performance graphics.

Repository: https://github.com/thorvg/thorvg
Canonical: https://ross.abutalabs.com/products/thorvg
Homepage: https://www.thorvg.org
Language: C++
License: MIT
License Family: permissive
Topics: drawing-library, shapes, svg, path-drawing, animation, vector-graphics-engine, png, jpeg, webp, lottie, rendering-engine, webgpu, text, ttf, opengl3, opengles3, webgl2, otf
Last push: 2026-08-26T17:05:38+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 2200, "days_push": 7, "days_rel": 13, "gap_med": 20.0, "n_releases_24m": 29}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1784, forks 242 (observed 2026-08-28T04:05:35.896832+00:00)

## What it is
ThorVG is a lightweight, production-ready C++ vector graphics engine for rendering SVG, Lottie animations, and vector scenes across embedded, desktop, and web platforms. It supports multiple rendering backends including CPU rasterization, OpenGL, WebGL2, and WebGPU, and is used by Tizen OS, Godot, LVGL, and LottieFiles.

## Use cases
- render svg files in a c++ application
- play lottie animations on embedded devices
- lightweight vector graphics engine for mobile apps
- render vector graphics with webgpu or webgl
- draw ttf text and shapes in a game engine
- convert svg scenes to png images
- embed lottie playback in an iot device ui

## When to choose
- you need a small, portable vector renderer in C/C++ with no heavy dependencies
- you must render SVG or Lottie on embedded or resource-constrained hardware
- you want multiple backends (CPU, OpenGL, WebGL, WebGPU) behind one API
- you need scalable text, gradients, masking, and effects in a custom UI

## When to avoid
- you need a full 3D rendering engine
- you want a high-level JavaScript-only canvas API without native code
- you need PDF or print-oriented vector output rather than screen rendering

## Facets
- artifact type: library
- maturity: stable
- function: graphics, animation, image-processing, parser
- domain: graphics, web-development, embedded-systems, cross-platform
- platform: cpp, cross-platform, windows, wasm, embedded
- tags: vector-graphics, svg, lottie, webgpu, opengl, rasterization, rendering-engine, ttf, webp, linux, macos, android, ios, gpu

## Member repositories
- thorvg/thorvg (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.896832+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:24:16.923218+00:00, confidence not recorded.
  - readme: https://github.com/thorvg/thorvg (fetched 2026-08-28T04:05:35.896832+00:00, sha 72079ecff29d)
  - homepage: https://www.thorvg.org (fetched 2026-08-29T11:02:47.811906+00:00, sha 0c0198087088)
  - site_page: https://www.thorvg.org/about (fetched 2026-08-29T11:02:47.814881+00:00, sha bac84c4fc1b5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
