Script.it .Nam Myoho Renghe Kyo.

Script.it
[Lab] Lorenz Curve

The Lorenz Curve.
An equation i wanted to do for a long time.I knew i had to try one.
Discovered by Edward Norton Lorenz, this shape is a mathmatical wonder.

it looks like:

Lorenz Curve

Here is the code which makes it all run:

?View Code ACTIONSCRIPT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//lorenz constants
var step:Number = 0.005;
var sigma:Number = 10.0;
var rho:Number = 28.0;
var beta:Number = 8.0 / 3.0;
 
//lorenz equation:
x1=x0+step*sigma*(y0-x0);
y1=y0+step*(x0*(rho-z0)-y0);
z1=z0+step*(x0*y0-beta*z0);
 
x0=x1;
y0=y1;
z0=z1;

And here is the result in my demo engine:

This movie requires Flash Player 9

Creative Commons License
[Lab] Lorenz Curve by Script.it, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Netherlands License.

Comments are closed.

Categories
Archives
Live Supporters