The Curl Carnivàle
by Richard Monson-Haefel

 

 

Note: You need the Curl RTE (plug-in) to run the Curl examples. Do not use the Curl RTE with Firefox 3.0.1 on Mac OS X versions 10.3 - 10.5. There is bug that needs to be fixed.

 

Playing with Shapes

I think data visualization is pretty cool and love discovering new visualizations for interesting data. One of my favorite sites is VisualComplexity.com which offers a wonderful gallery of data viualization applications.

While researching data visualization I ran into the processing.org web site which is the home of an open source Java 2D library that is wonderfully simple to use and very powerful. I wanted to learn more about the Shapes package in Curl so I chose two processing.org visualizations to emulate: Meander and Flowers. These appeared to be less difficult for my novice fingers and were fairly easy to implement in Curl. My attempts to match Meander and Flowers are not perfect but it should provide folks with an idea of what can be done with Curl even in the most incompetent hands.

The first Shapes applet is supposed to look like the processing.org Meander application written by P.J. Onori I think I did a pretty good job but the orientation of my rings are different from the original.

Curl Smoke Rings Curl Source Code
smokerings.curl.txt

The second Shapes applet is a pretty good approximation of the processing.org Flower application written by Kevin Middleton. It's not prefect but it's close.

Curl Flowers Curl Source Code
flowers.curl.txt