framefield / tooll

Tooll is a new multi-purpose application for creating interactive 3d content and animations. It combines the best aspects of animation, compositing, and coding into a lightweight and intuitive UI. Your designs can be shared as executable or rendered to movies.
http://www.tooll.io
MIT License
638 stars 53 forks source link

Expression curve script #43

Open DartFNM opened 5 years ago

DartFNM commented 5 years ago

I would like to have more freedom for coding, and I think it would be interesting feature to implement.

How about some simple script (like LUA or C# realtime compiled). It might be used like custom curve operator: = sin( time ) * 10 Or something more complex : = input[0] * sin( PI * 0.5 * time) * ( i == 0 ? input[1] : 0)

Where 'PI' and 'time' are variables from global scope, 'input' it's array of float types of operator.

You can find similar script implementations in 3dsMax ( Expression Controller ), Adobe AfterEffects, Enigma4 by Brain Control.