jonobr1/two.js
A renderer agnostic two-dimensional drawing api for the web observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 99
- Release rhythm 38
- 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: 44
- age_days: 5110
- days_rel: 336
- days_push: 9
- n_releases_24m: 6
Adoption not part of the score
8652 stars · 462 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Two.js is a renderer-agnostic two-dimensional drawing API for modern web browsers, letting the same code render via SVG, Canvas 2D, or WebGL. It provides a scenegraph, built-in animation loop, shape/text creation, bitmap image handling, and an SVG interpreter for importing artwork from tools like Adobe Illustrator.
Use cases
- draw animated 2D vector shapes in the browser
- render the same scene to svg, canvas, and webgl
- create flat motion graphics animations on the web
- import SVG artwork from Illustrator into a web scene
- build an interactive 2D visualization with a scenegraph
- animate sprites and image sequences in the browser
When to choose
- you need a lightweight 2D drawing library with multiple renderer backends
- you want simple shape creation and animation without a full game engine
- you need to import and manipulate SVG assets in a web scene
- you want a built-in requestAnimationFrame animation loop with a scenegraph
When to avoid
- you need 3D rendering (use three.js instead)
- you need high-performance rendering of tens of thousands of objects
- you need a full game engine with physics or input systems
- you need server-side rendering of graphics
Facets
library · maturity stable
graphics animation data-visualization web-development frontend graphics browser svg canvas2d webgl scenegraph vector-graphics motion-graphics 2d-rendering animation-loop svg-interpreter web-server nodejs
6 sources
- readme: https://github.com/jonobr1/two.js · fetched 2026-08-28 · e2e353bb82f6
- homepage: http://two.js.org/ · fetched 2026-08-29 · 513ac24d045b
- site_page: https://two.js.org/docs/two · fetched 2026-08-29 · 2a4a1e9a3838
- site_page: https://two.js.org/docs · fetched 2026-08-29 · a306dbe27a2a
- registry_npm: https://registry.npmjs.org/two.js · fetched 2026-08-29 · a8d9104ea385
- site_page: https://two.js.org/changelog · fetched 2026-08-29 · 7440351e2ec4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jonobr1/two.js | main | 78 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem