Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScript_Physical_Engine.pdf
Search
d2forum
July 20, 2012
0
18k
JavaScript_Physical_Engine.pdf
d2forum
July 20, 2012
Tweet
Share
More Decks by d2forum
See All by d2forum
TMS的PHP特性
d2forum
0
1.6k
Leap Motion体感实战
d2forum
0
1.2k
跨终端产品实践
d2forum
12
1.9k
Touching Future—s01-e01
d2forum
2
910
KissyCake
d2forum
3
780
贡献标准.s01.e02
d2forum
3
1.3k
一淘响应式设计实践
d2forum
10
970
响应式web设计与实现介绍
d2forum
8
810
定制版设计开发vs响应式设计开发
d2forum
0
180
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
A Tale of Four Properties
chriscoyier
162
24k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
How to build a perfect <img>
jonoalderson
1
4.9k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Un-Boring Meetings
codingconduct
0
200
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
64
Transcript
JPE JavaScript Physical Engine 廖健(正邪)@阿里云
物理引擎 在虚拟世界模拟真实世界的运转
一切物体在没有受到力的作用 时,总保持匀速直线运动状态或静 止状态,除非作用在它上面的力迫 使它改变这种运动状态。 牛顿第一定律
物体加速度的大小跟作用力成正 比,跟物体的质量成反比,加速度的 方向跟作用力的方向相同。 牛顿第二定律
质量 速度 动力 摩擦力 约束 碰撞检测 计算
渲染 线条 填充 位图 透明度
demo
demo