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
- A (329B) client-side image resizer.☆91Updated 5 years ago
- Lightweight inertia based animation library ☄️☆22Updated 4 years ago
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated 2 months ago
- A small, standalone JavaScript library for working with ranges of numbers.☆89Updated 6 years ago
- A tiny single-finger tap and swipe library.☆24Updated 2 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame rates☆82Updated 5 years ago
- Detect when element scrolled to view☆34Updated 4 years ago
- A scroll event that fires only once per frame.☆38Updated 7 years ago
- (beta) Minimal routing library 🧭☆30Updated 6 months ago
- Events for `position: sticky`☆108Updated 2 weeks ago
- Polyfill for the "History API: Scroll Restoration"☆69Updated 5 years ago
- get relative position in an element on mouse clicks☆29Updated 4 years ago
- Limit an element's text to a given height or number of lines.☆37Updated last year
- Super-easy automated image compression☆63Updated 8 months ago
- Tiny JS framework to manage DOM components☆60Updated 2 years ago
- 🙏 Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)☆29Updated 5 years ago
- 🐨 A tiny 200b route change observer.☆84Updated 5 years ago
- Convenient and optimized DOM element selection.☆6Updated 8 years ago
- [ABANDONED] Preventing the pull-to-refresh effect browser on mobile☆19Updated 4 years ago
- Lightweight vanilla smooth scrolling based on native browser scrollbar☆29Updated 2 years ago
- The JavaScript Easing function with a beginning, middle and end☆62Updated 3 years ago
- SASS mixin for linear interpolation between multiple values across multiple breakpoints using CSS calc() and viewport units☆87Updated 3 years ago
- Prevent page scrolling☆140Updated 4 years ago
- Simple spring animations 🌱☆35Updated 4 years ago
- 1kb script that will make your DOM state transitions smoother & easier☆72Updated 6 years ago
- Text wrapping for type animations.☆47Updated 7 years ago
- A one trick pony package to download an image from a canvas.☆14Updated 9 months ago
- Monitor scrolling and resizing without event listeners.☆30Updated 2 years ago
- Sync up two Flickity carousels☆29Updated 2 years ago
- Draggable base class☆86Updated last year