use-animation
easings.net
use-animation | easings.net | |
---|---|---|
1 | 111 | |
3 | 7,663 | |
- | - | |
1.8 | 4.2 | |
over 2 years ago | 3 months ago | |
JavaScript | CSS | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
use-animation
-
High Performance 3D Animation with React + rxjs
If you want to go deeper again then check out the project README and samsarajs. I'd like to try @most/core instead of rxjs here since it boasts impressive performance[ref]. To me, this seems like a promising area for further investigation. I've begun to experiment with a similar approach in Unity3d, hopefully more to report soon!
easings.net
- Easings
-
2024 Cheat Sheet Collection
Easings: When working with animations and transitions, Easings provides a comprehensive cheat sheet for various easing functions, allowing developers to visualize and choose the perfect timing curve for their projects.
-
My favourite animation trick: exponential smoothing
Something like this: https://easings.net/#easeOutExpo
- Show HN: Tweening web visualisation, in Rust – (WASM)
-
Show HN: Improve cognitive focus in 1 minute
Very timely and helpful, thank you!
A suggestion: the pulse animation would look much better with ease-in / ease-out animation curves instead of the harsh linear curve it's currently using. EaseInOutSine from this cheat sheet would do fine: https://easings.net/
- Easing Functions Cheat Sheet
-
How to learn to create non linear function for my game
One I like to reference is this easing functions cheatsheet. Its aimed at programming animations, but a lot of the principles apply to your needs.
-
Easings for keyframes
I feel like BB should definitely have easings (specifically the ones on easings.net) for keyframes. Any thoughts?
-
Interactive tutorial building polished UI in JavaScript
> I wasn’t sure what type of math function would work for this
Usually people use "easing functions", which are convenient since they typically have a range and image both in [0.0 .. 1.0] [1] (although sometimes the range is slightly above 1 or below 0 to produce some "effect"). CSS has a cubic-bezier function [2] that can be used to replicate pretty closely all sorts of easing functions.
Functions that look like an "S" when plotted are called "sigmoids", a popular one used in graphics applications is called "Smoothstep" [3].
--
1: https://easings.net
2: https://developer.mozilla.org/en-US/docs/Web/CSS/easing-func...
3: https://en.wikipedia.org/wiki/Smoothstep