fortressinthesky さんへ
//.pde [Processing](http://processing.org/)
//Contribution by A-na5.tumblr
float theta = 0;
float thetaStep = 0.1;
int n = 50;
int r = 160;
float px, py, px_, py_;
void setup() {
size(500, 500);
noStroke();
fill(255);
}
void draw() {
background(0);
go_att();
theta += thetaStep;
}
void go_att() {
float a1 = 0.3*sin( theta );
float ts = TWO_PI/n;
float chao = 2;
for (int y = 0; y < n; y++) {
for (int x = 0; x < n; x++) {
px = ( sin( y+px_ ) + sin( ts*y+py_ ) )/2;
py = ( cos( y+px_ ) + cos( ts*y+py_+a1 ) )/2;
px_ = px*chao;
py_ = py*chao;
fill( x*10,y*10,250 );
ellipse( px*r+width/2,py*r+height/2, 1,1);
}
}
}
novaxzen reblogged this from novaxzen
8v01d liked this
zsszntial liked this
ceruleanray reblogged this from psychedelic-visuals
awkwardinclined reblogged this from antique-s0ul
zoldazerdo reblogged this from psychedelic-visuals