fregante / intrinsic-scaleLinks
Replicate `background-size: cover/contain` for canvas/CSS/Node/β¦ on any type of media.
β78Updated last year
Alternatives and similar repositories for intrinsic-scale
Users that are interested in intrinsic-scale are comparing it to the libraries listed below
Sorting:
- (beta) Minimal routing library π§β30Updated last year
- Unified mouse & touch events for desktop and mobileβ110Updated 3 years ago
- ππ€ Load one or more images, return a promise. Tiny, browser-only, no dependencies.β148Updated last year
- get relative position in an element on mouse clicksβ29Updated 5 years ago
- A (329B) client-side image resizer.β91Updated 5 years ago
- Lightweight inertia based animation library βοΈβ22Updated 5 years ago
- Lightweight and modular math toolboxβ81Updated 2 years ago
- A tiny single-finger tap and swipe library.β24Updated 3 years ago
- A small, standalone JavaScript library for working with ranges of numbers.β89Updated 7 years ago
- A scroll event that fires only once per frame.β38Updated 8 years ago
- Simple spring animations π±β34Updated 5 years ago
- Limit an element's text to a given height or number of lines.β38Updated 2 years ago
- Retrieve a consistent, accurate window.innerHeight measurement from iOSβ197Updated 4 years ago
- A simple batch assets loaderβ39Updated 2 years ago
- Text wrapping for type animations.β46Updated 7 years ago
- Framerate-independant spring physicsβ25Updated 7 years ago
- A small (376B) lazy function scheduler for a butter smooth main thread.β81Updated 5 years ago
- π Make every GSAP Tween a promise. tl.then(doSomething) (GSAP 1 and 2)β29Updated 6 years ago
- Speed controlled mouse scrollingβ53Updated 8 years ago
- Tiny JS framework to manage DOM componentsβ60Updated 3 years ago
- A one trick pony package to download an image from a canvas.β14Updated 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 last year
- A library which combines a eventBus/emitter, DOM events management, delegated events, and event-based utils into a single lightweight andβ¦β58Updated 8 months ago
- An SVG animation APIβ162Updated 7 years ago
- Assets preloader using async/await and fetch for usage both in the browser and Node.js.β62Updated 2 weeks ago
- draws video in canvas element using requestAnimationFrameβ15Updated 9 years ago
- [ABANDONED] Preventing the pull-to-refresh effect browser on mobileβ18Updated 5 years ago
- The JavaScript Easing function with a beginning, middle and endβ64Updated 4 years ago
- Calculates the size and the position of a target to fit a container.β29Updated 11 years ago
- A library for loading common web assetsβ69Updated 5 years ago