Introducing Tornis. Taking its name from the forest watchtowers of Latvia, Tornis is a minimal JavaScript library that watches the state of your browser's viewport, allowing you to respond whenever something changes. Think of Tornis as a store for your viewport. Tornis tracks state for: Mouse position 0, 0 Mouse cursor velocity 0, 0 Viewport size 1440, 718 Scroll position 0, 0 Scroll velocity 0, 0


{{#tags}}- {{label}}
{{/tags}}