fregante / intrinsic-scale
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
☆78Updated 4 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 library which combines a eventBus/emitter, DOM events management, delegated events, and event-based utils into a single lightweight and…☆57Updated last year
- A (329B) client-side image resizer.☆91Updated 5 years ago
- Lightweight inertia based animation library ☄️☆22Updated 4 years ago
- A tiny single-finger tap and swipe library.☆24Updated 2 years ago
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated last month
- Events for `position: sticky`☆108Updated 2 weeks ago
- A spring that generates realistic easing functions☆61Updated 7 years ago
- Simple spring animations 🌱☆35Updated 4 years ago
- Tiny JS framework to manage DOM components☆60Updated 2 years ago
- (beta) Minimal routing library 🧭☆30Updated 5 months ago
- A small (376B) lazy function scheduler for a butter smooth main thread.☆80Updated 5 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
- Lightweight vanilla smooth scrolling based on native browser scrollbar☆29Updated 2 years ago
- Detect when element scrolled to view☆34Updated 4 years ago
- get relative position in an element on mouse clicks☆29Updated 4 years ago
- CSSplus is a collection of CSS Reprocessor plugins that dynamically update CSS variables☆144Updated 5 years ago
- 🙏 Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)☆29Updated 5 years ago
- Retrieve a consistent, accurate window.innerHeight measurement from iOS☆195Updated 3 years ago
- FitText.js standalone library supporting UMD☆21Updated 6 years ago
- Super-easy automated image compression☆63Updated 7 months ago
- ☸️ wheel gestures and momentum detection☆36Updated 5 months ago
- WebGL workshop☆10Updated 8 years ago
- RAF loop with an adaptive fps and performance ratio calculated from either a sample count or a sample duration. Typically used when doing…☆62Updated 8 months ago
- This module solves the problem of longtime events from a trackpad or a magic mouse.☆26Updated 9 years ago
- Monitor scrolling and resizing without event listeners.☆30Updated 2 years ago
- A JavaScript vector type with GLSL-inspired swizzling☆123Updated 6 years ago
- Mouse wheel normalization across multiple multiple browsers.☆126Updated 3 years ago
- A simple batch assets loader☆39Updated last year