首页 开发技术 其它     /    反弹js:JavaScript中的Spring动态-源码

反弹js:JavaScript中的Spring动态-源码

上传者: weixin_42116791 | 上传时间:2023/8/30 12:39:56 | 文件大小:197KB | 文件类型:ZIP
反弹js:JavaScript中的Spring动态-源码
反弹Rebound是一个简单的库,用于模拟Spring动态,以驱动物理动画。
起源最初是用Java编写的,旨在为Android上的和提供轻量级的物理系统。
现在,它已被其他几个Android应用程序采用。
编写此JavaScript端口是为了提供一种快速的方法来演示Web上的Rebound动画以进行。
从那时起,JavaScript版本就被用于构建一些非常好的接口。
查看为例。
概述该库提供了一个SpringSystem,用于维护一组Spring对象,并通过物理求解器循环迭代这些Spring,直到达到平衡为止。
Spring类是Rebound提供的基本动画驱动程序。
通过将侦听器附加到Spring,可以观察其运动。
观察者功能在其解决平衡时会被告知弹簧上的位置变化。
这些位置更新可以映射到动画范围,以驱动用户界面元素(平移,旋转,缩放等)上的动画属性更新。
查看和以获取更多详细信息 本软件ID:15378232

文件下载

资源详情

[{"title":"(43个子文件197KB)反弹js:JavaScript中的Spring动态-源码","children":[{"title":"rebound-js-master","children":[{"title":".gitignore <span style='color:#111;'>81B</span>","children":null,"spread":false},{"title":".babelrc <span style='color:#111;'>508B</span>","children":null,"spread":false},{"title":".flowconfig <span style='color:#111;'>66B</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":"src","children":[{"title":"util.js <span style='color:#111;'>2.65KB</span>","children":null,"spread":false},{"title":"SpringConfig.js <span style='color:#111;'>2.37KB</span>","children":null,"spread":false},{"title":"types.js <span style='color:#111;'>866B</span>","children":null,"spread":false},{"title":"BouncyConversion.js <span style='color:#111;'>2.51KB</span>","children":null,"spread":false},{"title":"PhysicsState.js <span style='color:#111;'>573B</span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'>771B</span>","children":null,"spread":false},{"title":"Spring.js <span style='color:#111;'>16.21KB</span>","children":null,"spread":false},{"title":"onFrame.js <span style='color:#111;'>821B</span>","children":null,"spread":false},{"title":"SpringSystem.js <span style='color:#111;'>8.03KB</span>","children":null,"spread":false},{"title":"OrigamiValueConverter.js <span style='color:#111;'>993B</span>","children":null,"spread":false},{"title":"MathUtil.js <span style='color:#111;'>2.42KB</span>","children":null,"spread":false},{"title":"Loopers.js <span style='color:#111;'>2.58KB</span>","children":null,"spread":false}],"spread":false},{"title":".travis.yml <span style='color:#111;'>45B</span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'>1.32KB</span>","children":null,"spread":false},{"title":"rebound.d.ts <span style='color:#111;'>5.59KB</span>","children":null,"spread":false},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'>249B</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.49KB</span>","children":null,"spread":false},{"title":"rollup.config.js <span style='color:#111;'>1.46KB</span>","children":null,"spread":false},{"title":"__tests__","children":[{"title":"reboundSpec.js <span style='color:#111;'>7.65KB</span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"reboundSpec.js.snap <span style='color:#111;'>5.23KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"examples","children":[{"title":"images","children":[{"title":"rebound.png <span style='color:#111;'>4.60KB</span>","children":null,"spread":false},{"title":"rebound_2x.png <span style='color:#111;'>6.79KB</span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'>6.37KB</span>","children":null,"spread":false}],"spread":true},{"title":"main.css <span style='color:#111;'>1.22KB</span>","children":null,"spread":false},{"title":"src","children":[{"title":"util.js <span style='color:#111;'>2.43KB</span>","children":null,"spread":false},{"title":"cascadeEffect","children":[{"title":"main.css <span style='color:#111;'>440B</span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'>5.51KB</span>","children":null,"spread":false}],"spread":false},{"title":"photoScale","children":[{"title":"main.css <span style='color:#111;'>1.23KB</span>","children":null,"spread":false},{"title":"main.js <span style='color:#111;'>2.97KB</span>","children":null,"spread":false},{"title":"landscape.jpg <span style='color:#111;'>115.18KB</span>","children":null,"spread":false}],"spread":false},{"title":"hamburgerButton","children":[{"title":"main.js <span style='color:#111;'>5.25KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"index.html <span style='color:#111;'>4.55KB</span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'>524B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>4.30KB</span>","children":null,"spread":false},{"title":"examples.rollup.config.js <span style='color:#111;'>1.43KB</span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'>136B</span>","children":null,"spread":false},{"title":".npmignore <span style='color:#111;'>70B</span>","children":null,"spread":false},{"title":"PATENTS <span style='color:#111;'>1.93KB</span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'>141.78KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明