pixijs-userland/pixi-viewport
A highly configurable viewport/2D camera designed to work with pixi.js observed · 2026-08-28
Health v2 · maintenance only
36/100
- Activity 4
- Release rhythm 40
- 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: 4.5
- age_days: 3291
- days_rel: 644
- days_push: 576
- n_releases_24m: 3
Adoption not part of the score
1219 stars · 185 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A highly configurable viewport and 2D camera library for pixi.js that handles panning, zooming, and navigating large 2D worlds. Its features (drag, pinch, wheel zoom, deceleration, follow, animate, snap, clamp, bounce, edge movement) are implemented as composable, removable plugins so you can enable only the camera behaviors you need.
Use cases
- add pan and zoom to a pixi.js canvas
- implement pinch-to-zoom and mouse wheel zoom in a 2D web scene
- camera that follows a player character in a pixi.js game
- scroll and drag around a large map or world rendered on canvas
- clamp and bounce the camera at world edges in a 2D game
- snap the camera to points or zoom levels in a pixi.js app
- move the view when the mouse reaches screen edges
When to choose
- You are building a pixi.js application or game that needs a movable, zoomable view of a large 2D world
- You want ready-made camera behaviors like drag, wheel zoom, pinch, follow, snap, clamp, and bounce without writing them yourself
- You need composable camera plugins you can individually enable, configure, or remove
When to avoid
- Your project does not use pixi.js as its rendering engine
- You need 3D camera controls rather than a 2D viewport/camera
- You need general DOM page scrolling or panning outside of canvas-based rendering
Facets
library · maturity active
graphics animation graphics web-development browser pixi-js pixi-plugin 2d-camera viewport panning pinch-to-zoom mouse-wheel-zoom camera-follow snap-to-point clamping bouncing typescript canvas game-development
2 sources
- readme: https://github.com/pixijs-userland/pixi-viewport · fetched 2026-08-28 · 93dec64b3be1
- homepage: https://viewport.pixijs.io · fetched 2026-08-29 · 44136fa355b3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pixijs-userland/pixi-viewport | main | 36 |
For agents
markdown · JSON · MCP: product_card(name="pixijs-userland/pixi-viewport")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem