Nudge is based on the MetaControl idea of 'Lose Control, Gain Influence'. Nontrivial processes always have parameter values already, and rather than hard-setting them from the outside, Nudge influences the current parameter value.
It does this with these steps:
First code examples:
obj | |
key |
make a Nudge for an object and parameter key |
the object to nudge
the key for the parameter to nudge
delta |
change the object's parameter at key by a delta value |
setting border strategy - value will wrap, fold or clip when hitting border.
set range shaping to sine shape
set range shaping to scalable tan
set range shaping to bi-exponential
The functions to use internally for the nudging process. Can also be changed individually if you know what you are doing.
nudge's copy of the param value in unipolar and nudge-bipolar range.
a dict for keeping state required for some nudging strategies