fregante / intrinsic-scaleLinks
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
☆78Updated 9 months ago
Alternatives and similar repositories for intrinsic-scale
Users that are interested in intrinsic-scale are comparing it to the libraries listed below
Sorting:
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated 6 months ago
- A (329B) client-side image resizer.☆90Updated 5 years ago
- A tiny single-finger tap and swipe library.☆24Updated 2 years ago
- Unified mouse & touch events for desktop and mobile☆110Updated 2 years ago
- get relative position in an element on mouse clicks☆29Updated 4 years ago
- Lightweight inertia based animation library ☄️☆22Updated 5 years ago
- Lightweight and modular math toolbox☆81Updated last year
- A scroll event that fires only once per frame.☆38Updated 7 years ago
- 🙏 Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)☆29Updated 5 years ago
- Speed controlled mouse scrolling☆52Updated 7 years ago
- A small, standalone JavaScript library for working with ranges of numbers.☆89Updated 7 years ago
- A one trick pony package to download an image from a canvas.☆14Updated last year
- Monitor scrolling and resizing without event listeners.☆30Updated 2 years ago
- (beta) Minimal routing library 🧭☆30Updated 10 months ago
- An SVG animation API☆160Updated 6 years ago
- Text wrapping for type animations.☆47Updated 7 years ago
- Retrieve a consistent, accurate window.innerHeight measurement from iOS☆197Updated 4 years ago
- Tiny JS framework to manage DOM components☆60Updated 3 years ago
- The JavaScript Easing function with a beginning, middle and end☆62Updated 3 years ago
- Events for `position: sticky`☆108Updated last month
- A library for loading common web assets☆69Updated 5 years ago
- A lightweight JavaScript library for measuring and comparing the dimensions and distances of DOM elements.☆158Updated last year
- Limit an element's text to a given height or number of lines.☆38Updated 2 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.☆80Updated 5 years ago
- Detect when element scrolled to view☆34Updated 5 years ago
- Framerate-independant spring physics☆25Updated 6 years ago
- 🐨 A tiny 200b route change observer.☆84Updated 6 years ago
- Simple spring animations 🌱☆35Updated 4 years ago
- Calculates the size and the position of a target to fit a container.☆29Updated 10 years ago
- Path on Path SVG☆50Updated 6 years ago