daybarr / lorenz-webgl

Lorenz Attractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

A quick hack to render the Lorenz Attractor in a web browser using WebGL via three.js.

The result demonstrate the system's sensitivity to initial conditions - the hallmark of chaos. It does this by starting with three points that are very close together and using different colours to simultaneously plot their evolution over time. At first, the three plots are very close to each other, but after a short while they suddenly diverge and provide a good demonstration of the Butterfly Effect.

This hack is basically a much easier to run version of my ancient screensaver for Windows. That was written in C++ for DirectX and I've lost the sources.

Demo

Run it!

About

Lorenz Attractor


Languages

Language:JavaScript 94.7%Language:HTML 5.3%