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
890
KissyCake
d2forum
3
750
贡献标准.s01.e02
d2forum
3
1.3k
一淘响应式设计实践
d2forum
10
950
响应式web设计与实现介绍
d2forum
8
790
定制版设计开发vs响应式设计开发
d2forum
0
170
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Gamification - CAS2011
davidbonilla
80
5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Designing for Performance
lara
604
68k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
Optimising Largest Contentful Paint
csswizardry
33
2.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
What's new in Ruby 2.0
geeforr
343
31k
Transcript
JPE JavaScript Physical Engine 廖健(正邪)@阿里云
物理引擎 在虚拟世界模拟真实世界的运转
一切物体在没有受到力的作用 时,总保持匀速直线运动状态或静 止状态,除非作用在它上面的力迫 使它改变这种运动状态。 牛顿第一定律
物体加速度的大小跟作用力成正 比,跟物体的质量成反比,加速度的 方向跟作用力的方向相同。 牛顿第二定律
质量 速度 动力 摩擦力 约束 碰撞检测 计算
渲染 线条 填充 位图 透明度
demo
demo