top of page
Project Name: Snowflake Flock
Role: Programmer
Description:
Created for a programming class, Snowflake Flock an algorithm for loose AI flocking (“snowflake” shape is incidental). The algorithm is written in ActionScript 2.0, and is demonstrated in the Flash previewer. The code, shown below, identifies the position of the user's mouse, and generates dots which, at randomized speeds, "flock" towards the user's mouse, and continue to do so as the mouse moves around the screen.






ActionScript 2.0 Code
bottom of page