# PistonDevelopers/piston

A modular game engine written in Rust

Repository: https://github.com/PistonDevelopers/piston
Canonical: https://ross.abutalabs.com/products/piston
Homepage: https://www.piston.rs
Language: Rust
License: MIT
License Family: permissive
Topics: piston, rust, modular-game-engine
Last push: 2026-08-26T08:44:37+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4514, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4699, forks 235 (observed 2026-08-28T04:08:57.164071+00:00)

## What it is
Piston is a modular game engine written in Rust, providing core libraries for windowing, event handling, and 2D graphics with a backend-agnostic design. It uses generics and traits so backends are plugged in at the application level, following a Model-View-Controller pattern.

## Use cases
- build a 2D game in Rust
- create interactive graphical applications
- make a game with a modular backend-agnostic engine
- prototype game mechanics with a lightweight Rust engine
- render 2D graphics with a window and event loop
- build a Minecraft-like client or sprite animation tool

## When to choose
- you want a modular, minimal Rust game engine with a 'less is more' philosophy
- you need backend-agnostic 2D graphics and input handling
- you prefer composing small libraries over a monolithic framework
- you are building long-lived Rust codebases with low maintenance costs

## When to avoid
- you need a full-featured engine with built-in editor, physics, and asset pipeline like Unity or Godot
- your project is primarily 3D and needs high-level 3D tooling
- you want a large community with abundant tutorials and assets
- you need a non-Rust language

## Facets
- artifact type: framework
- maturity: stable
- function: game-engine, graphics, gui, image-processing
- domain: graphics, cross-platform
- platform: rust, cross-platform
- tags: 2d-graphics, modular-architecture, backend-agnostic, event-loop, windowing, game-development

## Member repositories
- PistonDevelopers/piston (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.164071+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:13.555077+00:00, confidence not recorded.
  - readme: https://github.com/PistonDevelopers/piston (fetched 2026-08-28T04:08:57.164071+00:00, sha 4ccffae3ea3e)
  - homepage: https://www.piston.rs (fetched 2026-08-29T09:03:08.987280+00:00, sha be905cbb2f4d)
  - site_page: https://docs.piston.rs/ (fetched 2026-08-29T09:03:08.996113+00:00, sha 851616d66a11)
  - registry_crates: https://crates.io/api/v1/crates/piston (fetched 2026-08-29T09:03:08.997905+00:00, sha 991e871115be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
