February 19, 2009
#tweetcoding Round 1 - 1967 / Boids
Another two entries for #tweetcoding.
"1967":
i+=0.06;g.clear();g.beginFill(0);for(x=80;x--;){g.drawCircle(25+70*(x%9),25+70*(y=int(x/9)),70+(s(x%9*0.7+i+s(y*0.7+i)))*35)}
"Boids":
g.clear();ls(2);for each(p in o)mt(p[0],p[1]),o[p[2]]?lt(p[0]+=o[p[2]][0]/56-1,p[1]+=o[p[2]][1]/56-1):0;if(i<999)o[i]=[99*r(),99*r(),++i];
