llgcode/draw2d
2D rendering for different output (raster, pdf, svg) observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 78
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4191
- days_rel: n/a
- days_push: 133
- n_releases_24m: 0
Adoption not part of the score
1166 stars · 106 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
draw2d is a Go 2D vector graphics library supporting multiple output backends including raster images, PDF documents, OpenGL, and SVG. It follows HTML Canvas 2D Context conventions and supports paths, curves, text rendering with truetype fonts, and affine transformations.
Use cases
- generate png images from vector drawings in go
- create pdf documents programmatically with the same drawing code
- render svg graphics from go code
- draw polygons bezier curves and arcs in go
- render text with truetype fonts onto images
- convert postscript files to images or pdf
When to choose
- you need one drawing codebase to target raster, pdf, and svg outputs
- you want a canvas-like 2d drawing api in go
- you need to generate charts, diagrams, or vector artwork as files
When to avoid
- you need gpu-accelerated interactive 2d rendering as the primary use case
- you need a full gui toolkit or scene graph
- your project is not written in go
Facets
library · maturity active
graphics image-processing pdf serialization graphics web-development developer-tools go cross-platform 2d-graphics vector-graphics svg canvas-api truetype-fonts postscript opengl
1 source
- readme: https://github.com/llgcode/draw2d · fetched 2026-08-28 · a52599291a58
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| llgcode/draw2d | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem