fregante / intrinsic-scale
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
☆77Updated last month
Related projects ⓘ
Alternatives and complementary repositories for intrinsic-scale
- A (329B) client-side image resizer.☆91Updated 4 years ago
- Lightweight inertia based animation library ☄️☆22Updated 4 years ago
- Limit an element's text to a given height or number of lines.☆36Updated last year
- Tiny JS framework to manage DOM components☆61Updated 2 years ago
- A spring that generates realistic easing functions☆60Updated 7 years ago
- The JavaScript Easing function with a beginning, middle and end☆62Updated 2 years ago
- A tiny single-finger tap and swipe library.☆24Updated last year
- (beta) Minimal routing library 🧭☆30Updated last month
- A small, standalone JavaScript library for working with ranges of numbers.☆89Updated 6 years ago
- Lightweight vanilla smooth scrolling based on native browser scrollbar☆29Updated last year
- 🐨 A tiny 200b route change observer.☆84Updated 5 years ago
- Convenient and optimized DOM element selection.☆6Updated 7 years ago
- [ABANDONED] Preventing the pull-to-refresh effect browser on mobile☆19Updated 3 years ago
- 🙏 Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)☆29Updated 4 years ago
- A simple batch assets loader☆38Updated last year
- Simple spring animations 🌱☆35Updated 4 years ago
- Unified mouse & touch events for desktop and mobile☆109Updated last year
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated 4 months ago
- A browser sniffing util☆38Updated 7 years ago
- Lightweight and modular math toolbox☆80Updated last year
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame rates☆82Updated 4 years ago
- Sync up two Flickity carousels☆29Updated 2 years ago
- A library which combines a eventBus/emitter, DOM events management, delegated events, and event-based utils into a single lightweight and…☆54Updated last year
- get relative position in an element on mouse clicks☆28Updated 3 years ago
- Calculates the size and the position of a target to fit a container.☆29Updated 9 years ago
- Path on Path SVG☆50Updated 6 years ago
- Polyfill for the "History API: Scroll Restoration"☆69Updated 5 years ago
- Detect when element scrolled to view☆34Updated 4 years ago
- SASS mixin for linear interpolation between multiple values across multiple breakpoints using CSS calc() and viewport units☆88Updated 2 years ago