fregante / intrinsic-scale
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
☆78Updated 3 months ago
Alternatives and similar repositories for intrinsic-scale:
Users that are interested in intrinsic-scale are comparing it to the libraries listed below
- Lightweight inertia based animation library ☄️☆22Updated 4 years ago
- A (329B) client-side image resizer.☆91Updated 4 years ago
- Limit an element's text to a given height or number of lines.☆37Updated last year
- A small, standalone JavaScript library for working with ranges of numbers.☆89Updated 6 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame rates☆82Updated 5 years ago
- (beta) Minimal routing library 🧭☆30Updated 5 months ago
- A library which combines a eventBus/emitter, DOM events management, delegated events, and event-based utils into a single lightweight and…☆57Updated last year
- Super-easy automated image compression☆63Updated 7 months ago
- Tiny JS framework to manage DOM components☆60Updated 2 years ago
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated last month
- get relative position in an element on mouse clicks☆29Updated 4 years ago
- The JavaScript Easing function with a beginning, middle and end☆63Updated 3 years ago
- Unified mouse & touch events for desktop and mobile☆109Updated 2 years ago
- Text wrapping for type animations.☆47Updated 7 years ago
- A tiny single-finger tap and swipe library.☆24Updated 2 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.☆80Updated 4 years ago
- Polyfill for the "History API: Scroll Restoration"☆69Updated 5 years ago
- Simple spring animations 🌱☆35Updated 4 years ago
- Retrieve a consistent, accurate window.innerHeight measurement from iOS☆195Updated 3 years ago
- Convenient and optimized DOM element selection.☆6Updated 7 years ago
- Monitor scrolling and resizing without event listeners.☆30Updated 2 years ago
- A simple batch assets loader☆39Updated last year
- A one trick pony package to download an image from a canvas.☆14Updated 8 months ago
- 🐨 A tiny 200b route change observer.☆84Updated 5 years ago
- Calculates the size and the position of a target to fit a container.☆29Updated 10 years ago
- WebGL workshop☆10Updated 8 years ago
- A scroll event that fires only once per frame.☆38Updated 7 years ago
- Events for `position: sticky`