# memononen/nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.

Repository: https://github.com/memononen/nanovg
Canonical: https://ross.abutalabs.com/products/nanovg
Language: C
License: Zlib
License Family: permissive
Last push: 2026-02-19T13:29:32+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 68, release rhythm 35, longevity 100
- inputs: {"age_days": 4677, "days_push": 195, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5701, forks 808 (observed 2026-08-28T04:09:28.081544+00:00)

## What it is
NanoVG is a small antialiased 2D vector graphics rendering library built on OpenGL, with a lean API modeled after the HTML5 canvas API. It is designed for building scalable user interfaces and visualizations in C/C++ applications.

## Use cases
- draw antialiased 2D vector graphics with OpenGL
- render custom UI widgets in a C++ application
- build scalable user interfaces with a canvas-like API
- render charts and data visualizations on the GPU
- draw paths, shapes, and text in a game or desktop app

## When to choose
- you need GPU-accelerated 2D vector rendering in C/C++
- you want an HTML5 canvas-style API for native applications
- you are building custom UIs or visualizations on top of OpenGL

## When to avoid
- you need a maintained library with active bug fixes and support
- you need a high-level retained-mode UI framework rather than a drawing API
- your project does not use OpenGL or cannot provide a stencil buffer

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, ui-components, data-visualization
- domain: graphics, web-development, desktop-applications
- platform: cpp, c, cross-platform
- tags: vector-graphics, opengl, 2d-rendering, antialiasing, canvas-api, c-library, game-development, gpu

## Member repositories
- memononen/nanovg (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.081544+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-29T17:53:34.272102+00:00, confidence not recorded.
  - readme: https://github.com/memononen/nanovg (fetched 2026-08-28T04:09:28.081544+00:00, sha f9730cb1b0cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
