For advanced use only — use the Scroll patch instead.
Simulate the momentum physics that powers the Scroll patch. Use in a feedback loop that integrates the velocity of an interaction.
高级模块,可以使用 Scroll 模块代替。
妈呀不知道在说啥....
输入口
Sample Value
A boolean that is true when the patch is sampling the input value. Usually connected to an Interaction patch's down output.
Value 值
A number that represents the value to add momentum physics to. Usually connected to an Interaction patch's position X or Y.
Scrolling Friction
A number between 1-100 that represents the friction that slows down the value when its velocity increases sharply and sampling stops (ex: a scroll flick).
Rubber Band Tension
A number between 10-1000 that represents the speed the value returns to the boundaries after sampling stops if it exceeds the boundaries.
Rubber Band Friction
A number between 10-1000 that represents the friction that slows down the value returning to the boundaries after sampling stops if it exceeds the boundaries.
输出口
Output
The value with momentum added. Feed back into the Value input and add velocity with a + patch.
Related Patches 相关模块
Scroll,Drag,Pop Switch,Interaction,Touches,Trackpad,+