Physics for JavaScript Games, Animation, and Simulations

0
(0)

Physics for JavaScript Games, Animation, and Simulations
 

  • Author:Adrian DobreDev Ramtal
  • Length: 508 pages
  • Edition: 1
  • Publisher: Apress
  • Publication Date: 2014-05-21
  • ISBN-10: 1430263377
  • ISBN-13: 9781430263371
  • Sales Rank: #2380527 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Have you ever wanted to include believable physical behaviors in your games and projects to give them that extra edge? Physics for JavaScript Games, Animation, and Simulations teaches you how to incorporate real physics, such as gravity, friction, and buoyancy, into your HTML5 games, animations, and simulations. It also includes more advanced topics, such as particle systems, which are essential for creating effects such as sparks or smoke. The book also addresses the key issue of balancing accuracy and simplicity in your games and simulations, and the final chapters provide you with the information and the code to make the right choice for your project.

    Physics for JavaScript Games, Animation, and Simulations assumes you have a basic knowledge of JavaScript and HTML5. However, no previous knowledge of physics is required—only some very basic math skills. The authors present everything from basic principles to advanced concepts in an approachable way, so you’ll be able to follow the logic and easily adapt the principles to your own applications.

    The book is packed full of practical examples of how you can apply physics to your own games and  applications. Spring behaviors can be used for anything from tweaking lowrider suspension to creating  cloth simulation; flotation mechanics enable the simulation of submersibles or dirigibles; you can even create your own solar system with accurate orbits and gravity. It doesn’t matter if you’re modeling the Lorentz force in an electromagnetic field or you’re modeling the lift force in a flight simulator, Physics for JavaScript Games, Animation, and Simulations enables you to fill your games and applications with accurate and realistic effects.

    What you’ll learn

    • Learn all the basic math and physics you’ll need to incorporate realism into your projects
    • Incorporate a wide range of forces, such as gravity, friction, and buoyancy
    • Build a number of realistic simulations
    • Model particle systems and use them to create visual effects
    • Create complex systems using rigid bodies and mass-spring systems
    • Deal with numerical subtleties, including accuracy and stability of integration schemes

    Who this book is for

    Physics for JavaScript Games, Animation, and Simulations is for JavaScript developers interested in incorporating real physics into their games, animations, simulations, or generative art projects

    Table of Contents

    Part I: The Basics
    Chapter 1: Introduction to Physics Programming
    Chapter 2: JavaScript and HTML5 Canvas Basics
    Chapter 3: Some Math Background
    Chapter 4: Basic Physics Concepts

    Part II: Particles, Forces, and Motion
    Chapter 5: The Laws Governing Motion
    Chapter 6: Gravity, Orbits, and Rockets
    Chapter 7: Contact and Fluid Forces
    Chapter 8: Restoring Forces: Springs and Oscillations
    Chapter 9: Centripetal Forces: Rotational Motion
    Chapter 10: Long-Range Forces

    Part III: Multi-particle and Extended Systems
    Chapter 11: Collisions
    Chapter 12: Particle Systems
    Chapter 13: Extended Objects

    Part IV: Building More Complex Simulations
    Chapter 14: Numerical Integration Schemes, Accuracy, and Scaling
    Chapter 15: Doing Physics in 3D
    Chapter 16: Simulation Projects

    中文:

    书名:Physics for JavaScript Games, Animation, and Simulations

    你有没有想过在你的游戏和项目中加入可信的身体行为来给他们带来额外的优势? 游戏、动画和模拟的物理学 教您如何将真实物理(如重力、摩擦力和浮力)融入到HTML5游戏、动画和模拟中。它还包括更高级的主题,如粒子系统,这些主题对于创建火花或烟雾等效果至关重要。这本书还解决了在游戏和模拟中平衡准确性和简单性的关键问题,最后几章为您提供了为您的项目做出正确选择的信息和代码。

    游戏、动画和模拟的物理学 假设您具有基本的JavaScript和HTML5知识。然而,不需要以前的物理知识-只需要一些非常基本的数学技能。作者以一种平易近人的方式介绍了从基本原则到高级概念的所有内容,因此您将能够遵循逻辑并轻松地将这些原则应用于您自己的应用程序。

    这本书充满了你如何将物理应用到你自己的游戏和应用程序中的实际例子。弹簧行为可以用于任何事情,从调整下降器悬挂到创建布料模拟;漂浮机制允许模拟潜水器或飞艇;您甚至可以创建自己的太阳系,具有准确的轨道和重力。无论你是在电磁场中为洛伦兹力建模,还是在飞行模拟器中为升力建模, 游戏、动画和模拟的物理学 使您能够为您的游戏和应用程序填充准确和真实的效果。

    What you’ll learn

    • 学习所有的基本数学和物理,你将需要把现实主义融入你的项目中
    • 结合多种力,如重力、摩擦力和浮力
    • Build a number of realistic simulations
    • 为粒子系统建模并使用它们创建视觉效果
    • 使用刚体和质量弹簧系统创建复杂系统
    • 处理数值的微妙之处,包括积分格式的准确性和稳定性

    Who this book is for

    游戏、动画和模拟的物理学 面向对将真实物理融入到他们的游戏、动画、模拟或生成艺术项目中感兴趣的JavaScript开发人员

    Table of Contents

    Part I: The Basics
    Chapter 1: Introduction to Physics Programming
    Chapter 2: JavaScript and HTML5 Canvas Basics
    Chapter 3: Some Math Background
    Chapter 4: Basic Physics Concepts

    Part II: Particles, Forces, and Motion
    Chapter 5: The Laws Governing Motion
    Chapter 6: Gravity, Orbits, and Rockets
    Chapter 7: Contact and Fluid Forces
    Chapter 8: Restoring Forces: Springs and Oscillations
    Chapter 9: Centripetal Forces: Rotational Motion
    Chapter 10: Long-Range Forces

    Part III: Multi-particle and Extended Systems
    Chapter 11: Collisions
    Chapter 12: Particle Systems
    Chapter 13: Extended Objects

    Part IV: Building More Complex Simulations
    Chapter 14: Numerical Integration Schemes, Accuracy, and Scaling
    Chapter 15: Doing Physics in 3D
    Chapter 16: Simulation Projects

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册