momtr / Lorenz-System

the lorenz system (lorenz attractor) is a system of ordinary differential equations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lorenz-System

The lorenz system (lorenz attractor) is a system of ordinary differential equations. It was first studied by Edward Lorenz.

lorenz_system

Mathematically

It is based on following ordinary differential equations:

first

second

third

Since we want to define the time-step-size per draw loop, we define dt and multiply each equation by dt. This gives us:

first

second

third

Now, we define the values of the constants rho, sigmoid and beta. This gives us:

first

second

third

We can use these three formulas to calculate the changes of x, y and z of of points. Therefore we have to add the changes to the current values, which gives us a new point (x + dx, y + dy, z + dz) -> t + td -> (x, y, z).

About

the lorenz system (lorenz attractor) is a system of ordinary differential equations


Languages

Language:JavaScript 71.1%Language:HTML 28.9%