HandmadeMath/HandmadeMath
A simple math library for games and computer graphics. Compatible with both C and C++. Public domain and easy to modify. observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 72
- 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: 3879
- days_rel: n/a
- days_push: 169
- n_releases_24m: 0
Adoption not part of the score
1601 stars · 109 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
HandmadeMath is a single-header math library for games and computer graphics, providing vectors, matrices, and quaternions in both C and C++. It is public domain (CC0), cross-platform, and supports all common graphics API conventions.
Use cases
- vector and matrix math for a game engine
- linear algebra library for C graphics code
- quaternion rotations for 3D rendering
- single-header math library with no dependencies
- projection matrices for OpenGL or Vulkan
- math library usable from both C and C++
When to choose
- you need a lightweight, dependency-free math library for graphics or games
- your codebase mixes C and C++
- you want public domain code you can freely modify
- you need support for multiple handedness and NDC conventions
When to avoid
- you need advanced features like SIMD auto-vectorization tuning, dual quaternions, or symbolic math
- you prefer a large, actively maintained ecosystem like GLM or Eigen
- you need GPU-side math or shader libraries
Facets
library · maturity stable
math graphics game-engine graphics developer-tools cross-platform cpp c single-header vectors matrices quaternions public-domain linear-algebra c-and-cpp game-development
1 source
- readme: https://github.com/HandmadeMath/HandmadeMath · fetched 2026-08-28 · f592c6deea6a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| HandmadeMath/HandmadeMath | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="HandmadeMath/HandmadeMath")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem