Post about "timestep"

Flock AI

Check out Flock!

A year ago I attended a 3 week college-like event called Missouri Scholar’s Academy. I showed several of my peers there some of the different demos I had here on bluethen.com, and they seemed to like it.

The teacher suggested that I should try and simulate a flock of birds. I told him that there were several implementations out there already, but I gave it a go anyways.

I wrote and based the algorithm off of a blog post by Harry Brundage. The original simulation could handle about 200 birds or “boids” before the frame rate drops noticeably.

In the past week I’ve returned to the flocking algorithm and did a few improvements. Right now it can handle about 1000 boids, and, with the OpenGL renderer, it can handle 1500 and up.
(more…)

Updated Curtain and How to Improve Your Verlet Cloth Simulator

Click here to view curtain updated (Most of the update was behind the scene stuff, but tearing was added as well as a few adjustments. Right click and drag to tear. Press ‘r’ to restart, and ‘g’ to toggle gravity).

Click here to view Part 1 (How to build a Verlet Integrated cloth simulator)

So last week I made a blog post discussing how I made Curtain. It described things like the physics and mostly, the Verlet Integration. Today I’d like to go into more detail on how to further improve the Verlet Integration method used by making it more consistent and easier to tune. I’ll also be talking about some of the changes done to Curtain.

(more…)