# antvis/G

💥 A flexible rendering engine for visualization.

Repository: https://github.com/antvis/G
Canonical: https://ross.abutalabs.com/products/antvis-g
Homepage: https://g.antv.antgroup.com/
Language: TypeScript
License Family: other
Topics: canvas, visualization, 2d-graphics, antv, antvis, webgl, webgpu
Last push: 2026-03-01T14:35:40+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 62, longevity 100
- inputs: {"age_days": 3208, "days_push": 185, "days_rel": 254, "gap_med": 22, "n_releases_24m": 18}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1211, forks 230 (observed 2026-08-28T04:04:00.200880+00:00)

## What it is
G is a flexible 2D/3D rendering engine for visualization, serving as the underlying graphics engine of the AntV charting ecosystem. It adapts multiple rendering backends (Canvas2D, SVG, WebGL, WebGPU, CanvasKit, Node.js server-side) with a DOM-compatible API, an extensible plugin system, and WebGPU-based GPGPU support for parallel graph algorithms.

## Use cases
- render 2d and 3d graphics in the browser
- switch between canvas svg webgl and webgpu renderers at runtime
- build custom charting or visualization libraries
- accelerate graph algorithms with gpgpu on webgpu
- render charts server-side in node.js
- integrate d3 with a high-performance renderer
- add hand-drawn style rendering with rough.js
- add accessibility features like screen reader support to canvas graphics

## When to choose
- you need a single scene-graph API that works across Canvas2D, SVG, WebGL, and WebGPU
- you are building visualization products on top of the AntV ecosystem
- you need GPU-accelerated computation for graph analytics
- you want DOM-compatible graphics and event APIs that integrate with D3 or existing web libraries
- you need server-side rendering of graphics

## When to avoid
- you just need simple charts out of the box - use a charting library like AntV's own G2 or Chart.js instead
- you need a full game engine with asset pipelines and physics built in
- your project requires a permissively documented license - the repo metadata shows no license field despite MIT badges in the README
- you need native desktop or mobile rendering outside the web platform

## Facets
- artifact type: library
- maturity: active
- function: graphics, animation, ui-components, gpu-computing
- domain: data-visualization, graphics, web-development, frontend
- platform: browser, wasm
- tags: canvas2d, svg, webgl, webgpu, rendering-engine, scene-graph, antv, gpgpu, typescript, 2d-graphics, 3d-graphics, nodejs, web-server

## Member repositories
- antvis/G (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.200880+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-30T06:18:03.073365+00:00, confidence not recorded.
  - readme: https://github.com/antvis/G (fetched 2026-08-28T04:04:00.200880+00:00, sha aed1f55c003e)
  - homepage: https://g.antv.antgroup.com/ (fetched 2026-08-29T12:26:14.757017+00:00, sha f177531b22cc)
  - site_page: https://g.antv.antgroup.com/guide/getting-started (fetched 2026-08-29T12:26:14.766153+00:00, sha 2a80d127fcdc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
