nrkn / object-fit-math
Just the math behind object-fit and object-position
☆11Updated 4 years ago
Related projects: ⓘ
- Replicate `background-size: cover/contain` for canvas/CSS/Node/… on any type of media.☆76Updated 6 months ago
- Get boundary box of svg path data☆63Updated last year
- Got units? Convert them! Parse length, angle and resolution CSS values and convert between units.☆26Updated last year
- A react wrapper for the nipplejs on-screen-joystick☆64Updated last year
- Quick and easy spring animation. Works with other animation libraries (gsap, animejs, framer motion, motion one, @okikio/animate, etc...)…☆65Updated last year
- Progress of response for fetch API☆85Updated last year
- Track the size of a react-dom element in 540 bytes (without ResizeObserver)☆16Updated last year
- Pan / zoom for any element☆88Updated 2 years ago
- CSS spring physics☆19Updated 11 years ago
- ☸️ wheel gestures and momentum detection☆29Updated last week
- A spring that generates realistic easing functions☆60Updated 7 years ago
- Normalize coordinates in an SVG path to a specified range☆17Updated 5 years ago
- Convert stroked SVG into the outlined version☆126Updated last year
- 🖥 A screen.orientation ponyfill☆77Updated last year
- Convenience method to patch Chromium bug when getting duration of HTML5 video or audio Blob.☆51Updated last year
- 🎑🤞 Load one or more images, return a promise. Tiny, browser-only, no dependencies.☆147Updated 3 months ago
- A (329B) client-side image resizer.☆90Updated 4 years ago
- A tiny (178B) helper for playing, pausing, and setting `requestAnimationFrame` frame rates☆82Updated 4 years ago
- Process files before starting your webpack build☆26Updated last year
- Simple spring dynamics for physics-driven animations☆16Updated 4 years ago
- ✂️ Optimize SVG and Flatten transforms and shapes ⚡☆58Updated 5 years ago
- 🌓 React implementation of the Screen Wake Lock API. It provides a way to prevent devices from dimming or locking the screen when an appl…☆70Updated this week
- SVG paths bounding box calculator☆49Updated this week
- ☆40Updated 2 years ago
- React Fiber renderer and component container for Paper.js.☆100Updated 2 years ago
- Shade consitency for various hues, based on luminance.☆45Updated last year
- A JavaScript library, written in TypeScript, to convert among different color models☆85Updated last week
- Gets dominant color of an image.☆64Updated 7 years ago
- Radial Color Picker - React☆18Updated 8 months ago
- Detect when element scrolled to view☆34Updated 4 years ago