Skip to content

Add a love2d visualization of the easing functions#11

Open
idbrii wants to merge 1 commit into
rxi:masterfrom
idbrii:demo
Open

Add a love2d visualization of the easing functions#11
idbrii wants to merge 1 commit into
rxi:masterfrom
idbrii:demo

Conversation

@idbrii

@idbrii idbrii commented Aug 23, 2020

Copy link
Copy Markdown

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

idbrii commented Aug 23, 2020

Copy link
Copy Markdown
Author

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

idbrii commented Dec 12, 2021

Copy link
Copy Markdown
Author

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