Custom input (numbers) for Cubic-Bezier timing function

(Michael) #1

Would love to be able to input values for the cubic-bezier timing function. I have a set of cubic-bezier curves that I use and want to match it exactly. I can only drag the handles to approximately where it should be right now.



Just an FYI that this will be available soon (Spring 2018) as it’s currently in Beta testing.

(Michael) #4

Thanks guys. Great to know that its coming. Is there a list of what to look forward to in Hype 4?


The vid that Michael posted above should cover most of it :wink: other than that no definite list of exactly what will be in the new release.

(Jonathan Deutsch) #6

Thanks for the request! You’d be able to reproduce this with the math timing functions if you also had a function that would solve the cubic bezier equation. I think it’d also be nice to provide a way to input values (like those going into the CSS Animation/Transitions).

(Michael) #7

Just looked at the video and it seems a bit different than what I was talking about. I was looking for something more like this site.,.67,.83,.67. Jonathan, is there a function to translate the cb equation?

(Jonathan Deutsch) #8

There is within Hype, but it is not exposed as public API. As a feature request I’m not opposed to allowing entering the values as you’d like!

But if you wanted to work with the v4 math functions (say this doesn’t make the cut for v4), you’d need to bring over your own cubic bezier solver. There’s one here: