Cycling74 / ease

MIT License
8 stars 0 forks source link

FR: add "amount" attr #11

Open pixlpa opened 7 years ago

pixlpa commented 7 years ago

I'm using ease on a project right now and the client wants to be able to adjust the curves, so I've been lerp-ing the output of ease objects with a linear value. Would be nice to add an "amount" attr to ease objects to do that internally like: output = (eased*amount)+(linear*(1-amount));

tap commented 7 years ago

Basically a "mix" or wet/dry. What if you wanted to put an ease function on that too? ;-)