O'Reilly logo

The Essential Guide to Physics for Flash Games, Animation, and Simulations by Adrian Dobre, Dev Ramtal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vectors and basic vector algebra

Vectors are useful math constructs that simplify how we need to deal with many physical quantities like velocity and force, which will be discussed in detail in the next chapter. You've already met vectors informally, when you dealt with velocity components. Let's now see what we were really doing.

What are vectors?

Vectors can be most intuitively illustrated using the example of displacements. The concept of displacement will be covered in detail in Chapter 4, but essentially it refers to movement for a given distance and in a given direction. Here is an example.

Suppose that Bug, the ladybug, is crawling on a piece of graph paper. Bug starts at the origin and crawls for a distance of 10 units; then he stops. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required