Processing Code:
float x = 0.1;
float y = 0.1;
float a = -0.5318;
float b = 2.785;
float c = 2.685;
float d = -0.9887;
int h = 800;
int w = 800;
size(h,w);
background(255);
for(int i=0;i < 1000000;i++){
x = sin(a*x) + c*sin(a*y);
y = sin(b*x) + d*sin(b*y);
}
for(int i=0;i < 1000000;i++){
stroke(0);
point( (w/6) * (x+ 3) ,(h/6) * (y + 3));
x = sin(a*x) + c*sin(a*y);
y = sin(b*x) + d*sin(b*y);
}
You can play with the a, b, c, and d variables to generate different pretty pictures.
(equations copied from
Chaos in Wonderland by
Clifford A. Pickover).