Reverse Direction with Expressions

    How to reverse things like trim paths with a simple expression
    Workbench: http://workbench.tv/tutorials/2018-01-12_ReverseDirection/
    Patreon: http://patreon.com/workbench/
    Merch: http://workbench.tv/products/merch/
    Paypal: https://www.paypal.me/workbenchtv

    Social
    ***********************************************************
    Instagram: http://instagram.com/workbenchtv/
    Twitter: https://twitter.com/workbench_tv
    Facebook: http://facebook.com/workbenchtv

    This week, we’re looking at reversing the direction of things like trim paths, and other effects that use ranges, like text animators. Our expression is simple and I’d even call it elegant since we basically end up with one quick math equation that suits both the forward and reversed directions.

    You can apply this to pretty much any parameter you’d like if you need to reverse the way things are moving. I would highly recommend you animate from 0-1 and multiply that value by the maximum value of the range. So if you’re modifying an angle for example, you want to end up with your value * 360. If you’re using Flow or messing with easing, you might need to adjust them for such a small range. The multiplication should not have an effect since we’re just changing the values after that.

    A lot more information and code is available at the Workbench link above for this particular tutorial.

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here