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

Custom easing has no clear documentation. #105

Open
Alchemist0823 opened this issue May 9, 2019 · 4 comments
Open

Custom easing has no clear documentation. #105

Alchemist0823 opened this issue May 9, 2019 · 4 comments

Comments

@Alchemist0823
Copy link

Greensock CustomEase uses SVG format now.
It doesn't support Greensock CustomEase anymore.

@andrewstart
Copy link
Collaborator

Yeah, the easing here really needs an overhaul, including a tool that isn't external. It's a long term goal, but in the short term I should be able to make sure it allows for a very basic easing method, so that you can generate it however you want.

@PotooGryphon
Copy link

Has this feature been updated, since the last response to the thread? I'm also interested in the custom ease feature for the particles

@andrewstart
Copy link
Collaborator

While I have learned more about bezier curves in the course of my work, I haven't had the time to make any changes - the whole editor needs a rewrite for several reasons. However, the editor should accept a function that takes a number from 0-1 and outputs a number of your choice as an easing method in the config. You wouldn't be able to save it in a JSON file, but you could modify the config at development or runtime to insert a function.

// a function like this
function roundEasing(time) {
    return Math.round(time);
}

@PotooGryphon
Copy link

Thank you for the quick response. Looking forward to see any updates with this feature.

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

No branches or pull requests

3 participants