Ross ROSS = Recommend OSS · open-source software intelligence for agents

rustgd/cgmath

A linear algebra and mathematics library for computer graphics. observed · 2026-08-28

github.com/rustgd/cgmath · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • 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-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4755
  • days_rel: n/a
  • days_push: 634
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1203 stars · 160 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

cgmath is a low-dimensional linear algebra library for Rust targeted at computer graphics applications, providing vectors, square matrices, quaternions, rotation matrices, angle units, points, and perspective/orthographic projection types. It is designed for graphics workloads rather than general-purpose n-dimensional linear algebra, with optional swizzle operators and trait-based APIs like VectorSpace and InnerSpace.

Use cases

  • do vector and matrix math for a Rust game or graphics engine
  • compute perspective and orthographic projection matrices for 3D rendering
  • represent rotations with quaternions in Rust
  • transform points and vectors with affine and 3D spatial transformations
  • use swizzle operators like v.xyz() on vectors in Rust
  • convert between cgmath types and other math crates via mint
  • serialize vectors and matrices with serde in a Rust project

When to choose

  • you are writing a game, renderer, or graphics application in Rust and need 2D/3D/4D vectors, matrices, and quaternions
  • you want a small, focused graphics math crate with column-vector conventions familiar from GPU programming
  • you need optional serde serialization or mint interoperability for your math types
  • you want a mature, widely downloaded crate (11M+ downloads) with a stable 0.18 API

When to avoid

  • you need general-purpose or n-dimensional linear algebra (e.g. arbitrary-size matrices, decompositions, solvers) - use nalgebra or ndarray instead
  • you need working SIMD acceleration - the SIMD feature depends on deprecated packages and pre-1.33 nightly Rust and is not usable in its current form
  • you require active development or new features - the last release was 0.18.0 in January 2021 and the project is largely in maintenance mode
  • you need fully tested, complete functionality - the README notes not everything is implemented and test coverage is incomplete

Facets

library · maturity maintenance

math graphics simulation graphics mathematics rust cross-platform wasm linear-algebra vectors matrices quaternions simd gamedev 3d-graphics column-vectors swizzling projections game-development algorithms

10 sources

Member repositories

RepositoryRoleHealth v2
rustgd/cgmathmain32

For agents

markdown · JSON · MCP: product_card(name="rustgd/cgmath")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem