fregante / intrinsic-scale
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
☆78Updated 5 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 5 years ago
- (beta) Minimal routing library 🧭☆30Updated 7 months ago
- A (329B) client-side image resizer.☆91Updated 5 years ago
- 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
- 🙏 Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)☆29Updated 5 years ago
- A one trick pony package to download an image from a canvas.☆14Updated 10 months ago
- Events for `position: sticky`☆108Updated last week
- A tiny single-finger tap and swipe library.☆24Updated 2 years ago
- Tiny JS framework to manage DOM components☆60Updated 3 years ago
- Monitor scrolling and resizing without event listeners.☆30Updated 2 years ago
- A scroll event that fires only once per frame.☆38Updated 7 years ago
- Lightweight and modular math toolbox☆81Updated last year
- A simple batch assets loader☆39Updated last year
- Polyfill for the "History API: Scroll Restoration"☆69Updated 5 years ago
- Unified mouse & touch events for desktop and mobile☆110Updated 2 years ago
- [ABANDONED] Preventing the pull-to-refresh effect browser on mobile☆19Updated 4 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.☆80Updated 5 years ago
- Convenient and optimized DOM element selection.☆6Updated 8 years ago
- 👆 A simple outside click listener with no external dependencies.☆20Updated 4 years ago
- Path on Path SVG☆50Updated 6 years ago
- Simple spring animations 🌱☆35Updated 4 years ago
- Detect when element scrolled to view☆34Updated 4 years ago
- draws video in canvas element using requestAnimationFrame☆15Updated 9 years ago
- Limit an element's text to a given height or number of lines.☆37Updated 2 years ago
- Text wrapping for type animations.☆47Updated 7 years ago
- 📌 Tiny utility to position an element absolutely in relation to another element.☆15Updated 2 years ago
- Calculates the size and the position of a target to fit a container.