Jump to content
Search Community

custom ease functions not working

antialias test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I'd like to use custom ease functions to animate parameter changes, in this case for a howler.js object 'sounder' with an id of 'id3'. The tweening and easing works with a standard ease. Please see attached js file. When I try to use a custom ease I get this error:

CustomEase.min.js:12 Uncaught TypeError: a.match is not a function
    at l.m.setData (CustomEase.min.js:12)
    at new l (CustomEase.min.js:12)
    at Function.l.create (CustomEase.min.js:12)
    at gsap-180608-howler-2-timelines-customease-2.html:77

I have tried the three different methods o this page: <https://greensock.com/customease-as>, none of which are working for me.

test-customEase-1.js

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...