Archive for the ‘vis_ifs’ Category

Lorentz Attractor Java Visualization

Thursday, January 15th, 2009
lorentz-attactor-trails
lorentz-attactor-trails
Okay. In a previous post I described a project of mine to render the Lorentz attractor (actually, any function in three parameters) in a visually elucidating way. I’ve now packaged this application up so that you can use it at home.

This is the ‘alpha’ version… no docs, no help, no options, no nothin (except this):

  • Right-Click and drag zooms away from and toward the axis lines
  • ‘P’ will pause

I do have the Java source available here, in case you want to take a look. Compiling requires JOGL (I use theĀ Netbeans JOGL IDE plugin).

2D Trigonometric Attractor Visualization

Sunday, July 13th, 2008
image of colored wavy lines
xuu

These are some images generated by a program I wrote during the 2006-2007 academic year. Input eight real valued numbers, and you get an image like the ones that follow (no post-processing needed).

They are plots of a 2-D iterative function. Hue, Saturation, and Value correspond the (localized) Lyapunov exponents, distance between f(x_i) and x_i, and the number of times the point was visited, respectively.

See content from Scott Draves, Paul Bourke for more info.

(more…)

3d attractors in JOGL

Sunday, July 13th, 2008
Lorentz Trails
Lorentz Trails
Well, I’ve always been pretty fascinated with chaotic attractors,and for my final project in my graphics class I decided to make the jump to 3d.

I had been getting my feet wet with Java for another project, using it to implement a interpreter for a tiny expression language. I was really impressed by type system- debugging was more of a compile-time than run-time affair. I was also able to install the Netbeans IDE and JOGL pack without too much trouble, and there were plenty of demos to copy code from.

Ultimately, I was pretty satisfied with the results. Of course, I really only needed support for the most basic OpenGL functionality. I would love to see how projects like SciDelek perform.

Anyway, I’ve posted the code in a single file here. It’s a realtime visualizer for any f(x):x,y,z->x,y,z. So much fun to watch these suckers in action!