robb0wen/tornis
Tornis helps you watch and respond to changes in your browser's viewport 🌲 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: 2666
- days_rel: n/a
- days_push: 1336
- n_releases_24m: 0
Adoption not part of the score
1591 stars · 35 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Tornis is a minimal JavaScript library that watches and tracks the state of the browser's viewport, including mouse position, scroll position and velocity, viewport size, and device orientation. It uses a throttled, requestAnimationFrame-based store so subscribed functions only run when values change and the browser is ready to render.
Use cases
- track scroll position and velocity in the browser
- react to mouse cursor movement and velocity
- create parallax and scroll-driven effects
- monitor viewport size changes on resize
- track device orientation and pixel ratio
- optimize scroll/resize handlers for render performance
When to choose
- you need combined viewport state (scroll, mouse, size) in one store
- you want performant, throttled viewport tracking instead of raw event handlers
- you're building scroll- or cursor-driven visual effects in vanilla JS
When to avoid
- you need a full parallax library with built-in effects
- you're working in a framework with its own reactive state system
- you need server-side or non-browser viewport tracking
Facets
library · maturity maintenance
state-management developer-tools frontend web-development browser-extensions browser viewport-tracking scroll-velocity mouse-position requestanimationframe performance-optimization javascript
2 sources
- readme: https://github.com/robb0wen/tornis · fetched 2026-08-28 · 548288c5d5b9
- homepage: https://tornis.robbowen.digital · fetched 2026-08-29 · adfd566ff667
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| robb0wen/tornis | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem