Order of evaluation of expressions (Draft) If you set the string 'use javascript' as the first line of your expression, the plugin won't parse your code and you can get a significant performance increase.įor your code to be javascript compliant, please declare all vars and use operators limited to what javascript supports.įor example don't use an addition operator to sum two arrays. You can set your own function inside the code. You should have no issues linking any of the supported properties to an expression control. Expression controlsĪll expression controls are supported. In both cases the original animation won't get modified. lottie:bake and that expression will be exported as keyframes. If you just need a single expression converted, on the expressions editor of After Effects, you can add a commented line If you need all expressions converted to keyframes because you are using one of the players that don't support expressions, under Expression options you can check the option Convert expressions to keyframes and all expressions will be exported as keyframes. So for converting and evaluating the code, I use Esprima and Escodegen.Ī subset of expressions is supported. Unfortunately, expressions are similar to javascript but not quite the same.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |