Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a love2d visualization of the easing functions #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

idbrii
Copy link

@idbrii idbrii commented Aug 23, 2020

This demo uses love2d, but of course flux still has no dependencies on
love2d.

To make it easier to pick which function to use, visualize them in four
ways: a plot, translation, alpha, and scale.

This is similar to easings.net, but uses the same names as flux, only
shows the functions provided by flux, and actually uses flux for
rendering so it's definitely accurate.

This demo uses love2d, but of course flux still has no dependencies on
love2d.

To make it easier to pick which function to use, visualize them in four
ways: a plot, translation, alpha, and scale.

This is similar to easings.net, but uses the same names as flux, only
shows the functions provided by flux, and actually uses flux for
rendering so it's definitely accurate.
@idbrii
Copy link
Author

idbrii commented Aug 23, 2020

Here's some gifs of the demo running:
flux-demo-alpha
flux-demo-scale
flux-demo-translate

(Sorry for the low quality. Can't upload video files here.)

@idbrii
Copy link
Author

idbrii commented Dec 12, 2021

I exported this with love.js so you can see it on the web: https://idbrii.itch.io/lua-fluxvisualized

I think the web version is pretty useful as a static reference, but I'm doubtful of the benefits of putting that on gh-pages without making it update to reflect any changes to flux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant