More Steering Examples

I’ve added three new steering examples (based, of course, off of Craig Reynolds’ Steering Behaviors for Autonomous Characters) to the nature of code tutorials. Ultimately, it’s my goal to build out all of Reynolds’ algorithms into a Processing library (much like Open Steer), so stay tuned. . .

   

Path Following
Flow Field
Crowd Path Following

I hope to have a new tutorial about the use of the PVector dot product in the path following examples posted in the next day or two as well.

Art collides with Code

Two announcements.

I am incredibly honored and excited to be participating in the upcoming Art and Code symposium, organized by Golan Levin at Carnegie Mellon University.


Visit Art and Code

In addition, I’m finally working on a new tutorial page for the Nature of Code site. The tutorial will be about resolving collisions and I’m using the excellent book Mathematics and Physics for Programmers as a basis. I’ve posted the very first example, a simple implementation (using PVector) of two circles (equal mass) colliding. Note the collision is an idealized elastic collision. And the example isn’t terribly sophisticated and needs some improvements in order to work with more than two objects.