linebender/piet
An abstraction for 2D graphics. observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 80
- Release rhythm 13
- Longevity 100
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: 309
- age_days: 2800
- days_rel: 369
- days_push: 123
- n_releases_24m: 2
Adoption not part of the score
1370 stars · 98 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Piet is a Rust crate providing a cross-platform abstraction for 2D graphics, with backends that implement the API on top of each platform's built-in 2D rendering system (Cairo, CoreGraphics, Direct2D). It serves as the drawing layer for the Druid GUI toolkit.
Use cases
- draw 2D graphics with the same code on multiple platforms
- render shapes, text, and bezier paths in a Rust GUI app
- avoid bundling a full 2D renderer by using platform-native drawing APIs
- build a cross-platform Rust GUI toolkit's rendering layer
- render vector graphics to images in Rust
When to choose
- you need portable 2D drawing code across macOS, Windows, and Linux in Rust
- you are building on Druid or the Linebender ecosystem
- you want thin wrappers over native platform graphics rather than a GPU renderer
When to avoid
- you need GPU-accelerated rendering or modern features like shaders
- you need a project under active feature development (it is in maintenance mode)
- you need 3D graphics
Facets
library · maturity maintenance
graphics graphics cross-platform web-development rust cross-platform windows 2d-graphics drawing-api cairo direct2d coregraphics druid macos linux
2 sources
- readme: https://github.com/linebender/piet · fetched 2026-08-28 · 897a320e8f85
- registry_crates: https://crates.io/api/v1/crates/piet · fetched 2026-08-29 · e7a8ed27ac6f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| linebender/piet | main | 61 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem