没有合适的资源?快使用搜索试试~ 我知道了~
Foundation HTML5 Animation with JavaScript 无水印pdf
需积分: 10 12 下载量 151 浏览量
2017-10-05
17:00:04
上传
评论
收藏 6.89MB PDF 举报
温馨提示
Foundation HTML5 Animation with JavaScript 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
资源推荐
资源详情
资源评论
v
Contents at a Glance
Contents ...................................................................................................................... vi
About the Author ....................................................................................................... xv
About the Technical Reviewers ............................................................................... xvi
About the the Cover Image Artist ........................................................................... xvii
Acknowledgments .................................................................................................. xviii
Introduction ............................................................................................................... xix
Part I:JavaScript Animation Basics
Chapter 1 :Basic Animation Concepts ....................................................................... 3
Chapter 2: Basics of JavaScript for Animation ......................................................... 9
Chapter 3: Trigonometry for Animation ................................................................... 35
Chapter 4: Trigonometry for Animation ................................................................... 69
Part II:Basic Motion
Chapter 5: Velocity and Acceleration .................................................................... 105
Chapter 6: Boundaries and Friction ....................................................................... 131
Chapter 7: User Interaction: Moving Objects Around .......................................... 153
Part III: Advanced Motion
Chapter 8: Easing and Springing ........................................................................... 169
Chapter 9:Collision Detection ................................................................................. 201
Chapter 10: Coordinate Rotation and Bouncing Off Angles ............................... 225
Chapter 11: Billiard Ball Physics ............................................................................ 247
Chapter 12: Particle Attraction and Gravity .......................................................... 275
Chapter 13:Forward Kinematics: Making Things Walk ........................................ 291
Chapter 14: Inverse Kinematics: Dragging and Reaching ................................... 319
Part IV: 3D Animation
Chapter 15:3D Basics .............................................................................................. 343
Chapter 16:3D Lines and Fills ................................................................................. 383
Chapter 17:Backface Culling and 3D Lighting ...................................................... 413
Part V:Additional Techniques
Chapter 18: Matrix Math .......................................................................................... 431
Chapter 19:Tips and Tricks ..................................................................................... 443
Appendix ................................................................................................................... 467
Index .......................................................................................................................... 475
xix
Introduction
This book is about how to create interactive animations for the web using computer code and math. But
don't worry if you can't remember anything from your high school algebra class, you'll just need a minimal
understanding to get started. The purpose of this book is to give you the tools to create and express your
ideas, it's not about memorizing equations or theory—although I do explain the underlying ideas—but the
practical application of techniques to incorporate in your work. These are concepts and formulas that you
will see working, in real-time, right in front of you. Think of this book as the elements of motion, a catalog of
ideas to mix, match, and reference.
There are plenty of examples to play with, and it's very satisfying to watch something you've created move
around on screen—as if almost alive. But it can be even more satisfying to share this experience with your
friends by simply giving them a link to follow in their web browsers—this is the great benefit to distribution
using the Internet.
This book is a rewrite of the brilliant work by Keith Peters, Foundation ActionScript Animation. However,
instead of targeting Flash, this book uses modern web technologies like the HTML5 and JavaScript. The
malleability of this book is a result of the portability of its underlying concepts—the math is the same.
When you understand these basic building blocks, you are no longer reliant on the tools provided by
someone else, but you can implement these ideas wherever your programming life takes you.
Since the examples in this book are implemented using HTML5 and JavaScript, I'll step you through the
particular programming techniques you'll need to understand them. JavaScript is a fun, powerful, and
relatively small language, but it can be quirky and idiosyncratic largely because of its flexibility. While
other, more structured, languages impose a particular way to program, JavaScript allows you to write code
in many different styles. This freedom is powerful, but it can be confusing for a beginner to work out the
main ideas of the language. If this is your first time using JavaScript, it would be wise to skim through a
proper introduction before working through the examples in this book. The biggest confusion when
learning JavaScript is the assumptions you bring from other languages. Keep the reference documentation
handy and, if in doubt, test your code snippets in your browsers development console. If you are Flash
developer, resist the temptation to think of JavaScript as a variation of ActionScript. It has it's own unique
program structure and style, and you will avoid problems later on by leaving behind any preconceived
ideas about the language now.
This was a fun book to write, and I hope you have fun working through it. Write your programs, experiment
with them, share, and learn from others. Creativity is an active process, and not something you sit around
and wait for, so let's get coding!
剩余487页未读,继续阅读
资源评论
yinkaisheng-nj
- 粉丝: 762
- 资源: 6231
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- dpt-beit-base-384.pt
- 【net毕业设计】超市管理系统源码(完整前后端+sqlserver+说明文档+LW).zip
- STM32神舟III号例程源码RS485总线实验(神舟III号-库函数版)
- 【net毕业设计】花卉市场批发管理系统源码(完整前后端+sqlserver+说明文档+LW).zip
- 【net毕业设计】大学生兼职管理系统源码(完整前后端+sqlserver+说明文档).zip
- STM32神舟III号例程源码NAND FLASH访问程序(神舟III号-库函数版)
- C#汽车货运管理系统源码 货运公司车辆管理系统源码数据库 SQL2008源码类型 WinForm
- STM32神舟III号例程源码MP3播放器实验(神舟III号-库函数版)
- STM32开发相关软件MDK4.70A软件包
- STM32开发相关软件ISP程序下载
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功