# spritejs/spritejs

A cross platform high-performance graphics system.

Repository: https://github.com/spritejs/spritejs
Canonical: https://ross.abutalabs.com/products/spritejs
Homepage: http://spritejs.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: webgl, webgl2, 3d, 2d, rendering, canvas
Last push: 2024-06-09T14:25:58+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3346, "days_push": 815, "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 5389, forks 325 (observed 2026-08-28T04:09:17.182308+00:00)

## What it is
SpriteJS is a cross-platform, high-performance graphics library that lets you manipulate sprite elements on canvas as if they were DOM elements. It is renderer-agnostic, supporting WebGL2, WebGL, and Canvas2D contexts across web, Node.js, desktop apps, and mini-programs.

## Use cases
- render 2d graphics on canvas with a dom-like api
- draw high-performance webgl2 graphics in the browser
- build animated sprite-based visualizations with d3
- render graphics server-side in node.js
- create 3d scenes in the browser via a 3d extension
- use offscreen canvas and web workers for rendering
- build graphics for wechat mini-programs

## When to choose
- you want dom-style manipulation of canvas sprites
- you need a single api across webgl2, webgl, and canvas2d
- you are building d3-based visualizations with custom rendering
- you need server-side or worker-based graphics rendering

## When to avoid
- you need a full game engine with physics and asset pipelines
- you only need simple charts and can use a charting library
- you need broad 3d features without extension libraries

## Facets
- artifact type: library
- maturity: stable
- function: graphics, animation, data-visualization, ssr
- domain: graphics, web-development, frontend, data-visualization
- platform: browser, cross-platform
- tags: webgl, webgl2, canvas2d, 2d-graphics, 3d-graphics, sprites, renderer-agnostic, dom-like-api, offscreen-canvas, web-worker, d3-integration, vue-integration, game-development, nodejs, web-server

## Member repositories
- spritejs/spritejs (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:17.182308+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-29T17:58:24.713623+00:00, confidence not recorded.
  - readme: https://github.com/spritejs/spritejs (fetched 2026-08-28T04:09:17.182308+00:00, sha 4b41f569c940)
  - homepage: http://spritejs.com (fetched 2026-08-29T08:52:56.687931+00:00, sha 0b7c7b683e46)
- Data as of 2026-08-30T08:39:29.467469+00:00.
