All About Natron Python Scripting

This thread is dedicated to NATRON PYTHON SCRIPTING ONLY discussions.
Please use the tag natron-python when asking python based questions.
It will help to sort and search Natron python questions for all the users.

For startup Here is the Natron python API:

Some discussions attached:

Expression for the ‘Rotate’ parameter.

seed = 10
frequency = 0
amplitude = 0
offset = 10
intensity = 1

ret = (random(seed,frequency)*amplitude)+offset*intensity

Now you see that, by lowering the ‘intensity’ parameter, you lower the global random effect.

intensity = 0 : no rotation at all
intensity = 1 : full random rotation

That’s what i did in this Pyplug :

1 Like