4.8 Interaction 交互 - Momentum Scrolling 動量卷動


For advanced use only a€” 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 相關(guān)模塊

Scroll,Drag,Pop Switch,Interaction,Touches,Trackpad,+

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容