Foundation HTML5 Animation with JavaScript (Paperback)
暫譯: HTML5 動畫基礎與 JavaScript

Billy Lamberta, Keith Peters

  • 出版商: Friends of Ed
  • 出版日期: 2011-12-06
  • 售價: $1,260
  • 貴賓價: 9.5$1,197
  • 語言: 英文
  • 頁數: 504
  • 裝訂: Paperback
  • ISBN: 1430236655
  • ISBN-13: 9781430236658
  • 相關分類: HTMLJavaScript
  • 已絕版

買這商品的人也買了...

商品描述

Foundation HTML5 Animation with JavaScript covers everything that you need to know to create dynamic scripted animation using the HTML5 canvas. It provides information on all the relevant math you'll need, before moving on to physics concepts like acceleration, velocity, easing, springs, collision detection, conservation of momentum, 3D, and forward and inverse kinematics. Foundation HTML5 Animation with JavaScript is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices. 

You will learn how to utilize the amazing animation and physics-based code originally created by author Keith Peters in his hugely successful Foundation ActionScript Animation in all of your HTML5 applications. In no time at all, you'll understand the concepts behind scripted animation and also have the ability to create all manner of exciting animations and games.

What you’ll learn

  • All the JavaScript and HTML5 code (including math and trigonometry functions) you'll need to start animating with code
  • Basic motion principles like velocity, acceleration, friction, easing, and bouncing
  • How to handle user interactions via the keyboard, mouse, and touchscreen 
  • Advanced motion techniques like springs, coordinate rotation, conservation of momentum, and forward and inverse kinematics
  • All the basic 3D concepts you'll need for 3D in HTML5 (without WebGL)—from simple perspective to full 3D solids, complete with backface culling and dynamic lighting

Who this book is for

This book is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.

Table of Contents

  1. Basic Animation Concepts
  2. Basics of JavaScript for Animation
  3. HTML5 and Canvas graphics
  4. Trigonometry for Animation
  5. Velocity and Acceleration
  6. Boundaries and Friction
  7. User Interaction: Moving Objects Around
  8. Easing and Springing
  9. Collision Detection
  10. Coordination Rotation and Bouncing Off Angles
  11. Billiard Ball Physics
  12. Particle Attraction and Gravity
  13. Forward Kinematics: Making Things Walk
  14. Inverse Kinematics: Dragging and Reaching
  15. 3D Basics
  16. 3D Lines and Fills
  17. Backface Culling and 3D Lighting
  18. Matrix Math
  19. Tips and Tricks

商品描述(中文翻譯)

《Foundation HTML5 Animation with JavaScript》涵蓋了您需要了解的所有內容,以使用 HTML5 canvas 創建動態腳本動畫。它提供了您所需的所有相關數學資訊,然後轉向物理概念,如加速度、速度、緩動、彈簧、碰撞檢測、動量守恆、3D 以及前向和反向運動學。《Foundation HTML5 Animation with JavaScript》是所有在 HTML5 中工作的網頁開發者或從 Flash 轉換過來的開發者的絕佳資源,幫助他們創建符合標準的遊戲、應用程式和動畫,這些作品將在所有現代瀏覽器和大多數移動設備上運行,包括 iPhone、iPad 和 Android 設備。

您將學會如何在所有 HTML5 應用程式中利用作者 Keith Peters 在其極受歡迎的《Foundation ActionScript Animation》中最初創建的驚人動畫和基於物理的代碼。您將迅速理解腳本動畫背後的概念,並具備創建各種令人興奮的動畫和遊戲的能力。

您將學到的內容:
- 所有您需要的 JavaScript 和 HTML5 代碼(包括數學和三角函數),以開始使用代碼進行動畫製作
- 基本運動原則,如速度、加速度、摩擦、緩動和彈跳
- 如何通過鍵盤、滑鼠和觸控螢幕處理用戶互動
- 高級運動技術,如彈簧、坐標旋轉、動量守恆以及前向和反向運動學
- 所有您在 HTML5 中進行 3D 所需的基本 3D 概念(不使用 WebGL)—從簡單的透視到完整的 3D 實體,並包含背面剔除和動態照明

本書適合對象:
本書是所有在 HTML5 中工作的網頁開發者或從 Flash 轉換過來的開發者的絕佳資源,幫助他們創建符合標準的遊戲、應用程式和動畫,這些作品將在所有現代瀏覽器和大多數移動設備上運行,包括 iPhone、iPad 和 Android 設備。

目錄:
1. 基本動畫概念
2. 動畫的 JavaScript 基礎
3. HTML5 和 Canvas 圖形
4. 動畫的三角函數
5. 速度和加速度
6. 邊界和摩擦
7. 用戶互動:移動物體
8. 緩動和彈簧
9. 碰撞檢測
10. 坐標旋轉和彈跳角度
11. 撞球物理
12. 粒子吸引和重力
13. 前向運動學:讓物體行走
14. 反向運動學:拖曳和伸展
15. 3D 基礎
16. 3D 線條和填充
17. 背面剔除和 3D 照明
18. 矩陣數學
19. 提示和技巧