fregante / intrinsic-scale
Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.
☆78Updated 3 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 4 years ago
- A (329B) client-side image resizer.☆91Updated 4 years ago
- A tiny single-finger tap and swipe library.☆24Updated 2 years ago
- get relative position in an element on mouse clicks☆29Updated 4 years ago
- (beta) Minimal routing library 🧭☆30Updated 4 months ago
- 🙏 Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)☆29Updated 5 years ago
- Tiny JS framework to manage DOM components☆60Updated 2 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame rates☆82Updated 5 years ago
- Simple spring animations 🌱☆35Updated 4 years ago
- Framerate-independant spring physics☆25Updated 6 years ago
- [ABANDONED] Preventing the pull-to-refresh effect browser on mobile☆19Updated 4 years ago
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated 2 weeks ago
- Events for `position: sticky`☆108Updated 2 weeks ago
- A scroll event that fires only once per frame.☆38Updated 7 years ago
- Detect when element scrolled to view☆33Updated 4 years ago
- Limit an element's text to a given height or number of lines.☆37Updated last year
- Monitor scrolling and resizing without event listeners.☆30Updated 2 years ago
- This module solves the problem of longtime events from a trackpad or a magic mouse.☆26Updated 9 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.☆80Updated 4 years ago
- A simple batch assets loader☆39Updated last year
- RAF loop with an adaptive fps and performance ratio calculated from either a sample count or a sample duration. Typically used when doing…☆62Updated 7 months ago
- A one trick pony package to download an image from a canvas.☆14Updated 7 months ago
- FitText.js standalone library supporting UMD☆21Updated 6 years ago
- Webfont loading. Simple, small, and efficient.☆15Updated 4 years ago
- Draggable base class☆84Updated last year
- A wrapper for loading image via XHR and dispatching loading events.☆9Updated 9 years ago
- draws video in canvas element using requestAnimationFrame☆15Updated 8 years ago
- ☸️ wheel gestures and momentum detection☆36Updated 4 months ago
- Lightweight vanilla smooth scrolling based on native browser scrollbar☆29Updated 2 years ago
- 🐨 A tiny 200b route change observer.☆85Updated 5 years ago