l o r e n z - 3 d

design/implementation: Ge Wang
professor: Xiaobai Sun (cps150)
date: fall 2000
language/API: c++/OpenGL

The Lorenz Attractor is the following system of first order ODE:

x ' = a ( y - x )
y ' = x ( b - z ) - y
z ' = xy - cz

( input parameter: a, b, c, T, h, x0, y0, z0 )

Lorenz3d is a real-time 3D visualization of the lorenz attractor, implemented in c++/openGL - mainly for the purpose of enjoyment. This application animates the rendering of the lorenz attractor (calculated using forward euler's method, for any arbitrary set of parameters) in 3-space and offers the following features:

- arbitrary rotations of the lorenz attractor in real-time
- positioning of the camera at any distance to the attractor.
- render the attractor step by step or in entirity
- roller coaster chase view that flys along the lorenz attractor curve!

somewhere in the lorenz atrractor
flying along the lorenz attractor


The executable is here and the source is open - have fun!

view | download source

download Win32 executable
(this requires GLUT)

view the lorenz3d gallery



lorenz3d usage + keys

[L/R] mouse buttons - rotate (normal view only)
's' - reset the tracer to (x0, y0, z0)
'p' - toggle [draw to tracer] or [draw in entirity (t=0:T)]
'v' - toggle [normal] or [roller coaster chase] view
    (try different combinations of 's','v','p')
'm' - toggle [line] or [point] mode (normal view only)
'-' - move camera forward (normal view only)
'=' - move camera backward (normal view only)

- ge wang -

home | projects | email me