4.8 Interaction 交互 - Momentum Scrolling 动量卷动


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,+

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 这是在willsee上的第15篇原创文章 和大家说一个人。 杨小米,定居在上海的山东人,3年时间从普通...
    Willsee阅读 4,262评论 0 1
  • 文/香茶 我酒量不行,可周围的女哥们,都是牛人。 马姐,问她能喝多少,竖一个指头, “一两?”对方摇头。 “一杯?...
    尚德茶香阅读 4,326评论 6 15
  • 和简书在一起的第一天,正在赶往实习学校的路上。高中三年,大学就快四年了,陆陆续续的有动笔写一些东西,大多都是手写记...
    伟大而明亮阅读 1,355评论 0 0
  • 小时候,数学老是不及格,家长是也打也骂。感觉从那时起是在唾沫中成长的,所以似乎也能接受“笨小孩”这个称号,但对数学...
    王大可可阅读 1,837评论 0 1

友情链接更多精彩内容