fogleman/gg
Go Graphics - 2D rendering in Go with a simple API. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3849
- days_rel: n/a
- days_push: 993
- n_releases_24m: 0
Adoption not part of the score
4798 stars · 384 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Go Graphics (gg) is a pure Go library for 2D rendering with a simple, Cairo-like API for drawing shapes, paths, text, and images. It supports saving output as PNG and is widely used, with nearly 5,000 stars and over 1,900 dependent packages.
Use cases
- generate images programmatically in Go
- draw shapes and text onto a canvas
- create charts or diagrams as PNG files
- render 2D graphics without C dependencies
- annotate or composite existing images
- generate placeholder or thumbnail images
When to choose
- you need simple 2D drawing in pure Go with no external dependencies
- you want an easy API for shapes, paths, text, and image compositing
- you need to programmatically generate PNG images
When to avoid
- you need GPU-accelerated or real-time rendering
- you need 3D graphics or a full game engine
- you need advanced features like SVG output or complex filters
Facets
library · maturity maintenance
graphics image-processing graphics developer-tools go cross-platform 2d-graphics rendering canvas png drawing pure-go
5 sources
- readme: https://github.com/fogleman/gg · fetched 2026-08-28 · f8453f9e97f2
- homepage: https://godoc.org/github.com/fogleman/gg · fetched 2026-08-29 · 597b459231e7
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://pkg.go.dev/github.com/fogleman/gg · fetched 2026-08-29 · 6dbeff45567f
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fogleman/gg | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem