Disco Maths

for (int x = -2000; x < 2000; x+= 9) {

for (int y = -2000; y < 2000; y+= 9) {

z = ((cos(radians(y/3))*sin(radians(x/6)))*200)*sin(radians(x/2));

aStar = new Star(x,y,z);

s.add(aStar);

}

}

 

*addendum*

 

Posting this kicked of a great little to and fro with Andy Best ( andybest.net/2009/01/disco-mesh/ ) which resulted in my doing an audio reactive version ( vimeo.com/2712195 )

1,851 views
6 faves
2 comments
Taken on January 2, 2009