Geraldine Sarmiento and Leif Krinkle
GLART - Mark Napier
NYU Interactive Telecommunications Program
OpenGL Java Demos



Dragon Curve

This project is an extension of my thesis, "Transitions in L-systems". The process of working with L-systems in the medium of OpenGL is documented below. Most of the images shown are generated from the dragon curve L-system. The dragon curve was the primary focus of this study, but other L-systems such as spiral and gosper L-systems were used as well.

Here are some links I found with information about the dragon curve:
Wikipedia
Paperfolding and the dragon curve
Mathworld - dragon curve

Dragon Curve Axiom and Rules:

Axiom: FX
Rule X:-FX++FY-
Rule Y:+FX--FY+
Angle: 45

This was the outline of studies performed

1. Experiment with OpenGL Geometric Drawing Primitives: GL_Trianges, GL_Quads, GL_Polygons
2. Importing 3d objects and mapping their attributes(location, scale, orientation) to strings
3. Play with textures, lighting and color
4. The application of forces such as wind, gravity to L-system forms

Experiment with OpenGL Geometric Drawing Primitives: GL_Trianges, GL_Quads, GL_Polygons





 



Importing 3d objects and mapping their attributes(location, scale, orientation) to strings

These images were modeled in Maya and then exported as objs for use in OpenGL.



Playing with Textures, Lighting and Color

Texture images, opacity and lighting were explored in the creation of these images.



Application of Forces onto L-systems

Saving Locations to an ArrayList

This is a dragon curve drawing from an arraylist of points. Once the L-systems draw from locations saved onto an ArrayList, forces may now be applied to affect their positions as they grow.



Wave Force on the Dragon Curve

These are screenshots of the wave movement on the dragon curves.