Boids algorithm in scratch. They are programmed to run away from your mouse pointer. Tune the factors and find how they change behavior!