background preloader

Artificial Intelligence Stanford Fall 2011

Facebook Twitter

Math Pre-requisites. Khan Academy - Linear Algebra. MIT Linear Algebra OpenCourseWare. Stanford Linear Algebra Review-pdf. Stanford Review of Probability-pdf. Supplementary reading for probability and linear algebra? : aiclass. Linear algebra for game developers ~ part 1. When I posted about decals last week, a number of readers commented that they would be interested in posts about linear algebra as it applies to game development. I decided if I'm going to write about that, I might as well start at the beginning! This will be review to many of you who have written games before or taken classes in kinematic physics, so please bear with me for this introductory post -- I will get to more advanced topics later. Why do we care about linear algebra? Linear algebra is the study of vectors. If your game involves the position of an on-screen button, the direction of a camera, or the velocity of a race car, you will have to use vectors.

The better you understand linear algebra, the more control you will have over the behavior of these vectors. What is a vector? In games, vectors are used to store positions, directions, and velocities. The position vector indicates that the man is standing two meters east of the origin, and one meter north. Vector addition Next time. Twitter AI Class. Course Webpage.