3d attractors in JOGL

July 13th, 2008

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!

Lorentz Trails
They go round and round, forever
They go round and round, forever

Leave a Reply

You must be logged in to post a comment.