http://en.wikipedia.org/wiki/Lorenz_system
In code it's something like this:
Code: Select all
float h,a,b,c;
h = 0.01f;
a = 10.0f;
b = 27.0f;
c = 8.0f / 3.0f;
for( int s = sampleFrames; s > 0; --s )
x1 = x0 + h * a * (y0 - x0);
y1 = y0 + h * (x0 * (b - z0) - y0);
z1 = z0 + h * (x0 * y0 - c * z0);
x0 = x1;
y0 = y1;
z0 = z1;Anybody here with some practical advice, played around with something similiar?
Andrew
