All Projects → michaelfairley → ezing

michaelfairley / ezing

Licence: Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT
Easing functions for Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to ezing

interpolations
Lightweight Unity library for smoothing movements and value progressions in code (dragging, easing, tweening).
Stars: ✭ 29 (-38.3%)
Mutual labels:  easing-functions
SwiftTweener
A pure Swift animation engine.
Stars: ✭ 74 (+57.45%)
Mutual labels:  easing-functions
Animationeasingfunctions
Android Animation Easing Functions. Let's make animation more real!
Stars: ✭ 2,427 (+5063.83%)
Mutual labels:  easing-functions
Kute.js
KUTE.js is a JavaScript animation engine for modern browsers.
Stars: ✭ 2,270 (+4729.79%)
Mutual labels:  easing-functions
Androidviewanimations
Cute view animation collection.
Stars: ✭ 12,008 (+25448.94%)
Mutual labels:  easing-functions
Tween.js
JavaScript/TypeScript animation engine
Stars: ✭ 8,409 (+17791.49%)
Mutual labels:  easing-functions
animol
A minimal, super lightweight (3KB minimized and gzipped), zero dependency, JavaScript animation library.
Stars: ✭ 24 (-48.94%)
Mutual labels:  easing-functions
PhaserCHOP-TD-Summit-Talk
Project files associated with http://github.com/dbraun/PhaserCHOP and David Braun's "Quantitative Easing" talk at the 2019 TouchDesigner Summit https://www.youtube.com/watch?v=S4PQW4f34c8
Stars: ✭ 36 (-23.4%)
Mutual labels:  easing-functions
animatePaper.js
An animation library for paper.js.
Stars: ✭ 33 (-29.79%)
Mutual labels:  easing-functions
rebez
Cubic bezier implementation in Reason / OCaml.
Stars: ✭ 31 (-34.04%)
Mutual labels:  easing-functions
android-animations
Perform tweened animations such as Attention, Bounce, Fade, Flip, Rotate, Slide and Zoom on Views
Stars: ✭ 118 (+151.06%)
Mutual labels:  easing-functions
goopylib
A simple-yet-powerful 2D graphics framework built on top of Tkinter capable of creating good-looking & modern GUIs, games, and simple animations.
Stars: ✭ 19 (-59.57%)
Mutual labels:  easing-functions
PhaserCHOP
A TouchDesigner channel operator for phase-staggered animations
Stars: ✭ 15 (-68.09%)
Mutual labels:  easing-functions

ezing

Simple easing functions for Rust

Build Status Documentation Version License

[quad, cubic, quart, quint, sine, circ, expo, elastic, back, bounce] x [in, out, inout]

All functions have the signature fn<F: Float>(F) -> F (letting you use f32, f64, or any other type that implements num_traits's Float). Input should range from 0.0 to 1.0, and output is generally in the 0.0 to 1.0 range (except for elastic and back, which return values slightly outside). 0.0 always maps to 0.0, and 1.0 always maps to 1.0. Use 'em to lerp or something:

let current_pos = lerp(ezing::cubic_inout(t), start, end);

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].