12 July 2008

Artistic JavaScript

I came across this amazing JavaScript art project this morning, Algorithm Ink. Have a read of Aza’s introductory blog post, which explains how to use the tool:

In honor of the the release of Firefox 3, I’m releasing ContextFree.js today, along with the demo site Algorithm Ink. ContextFree.js is about drawing striking images—and making art—with minimal amounts of code.

Computers programs lost something important when displaying a splash of color stopped being one line of code. As a kid, I remember being able to type “plot x,y” on the Apple II to throw up a phosphorescent splotch. When the simplicity of the one-line plotter went away, so did the delight at being so effortlessly generative—in a visual way—on the computer. ContextFree.js is a stab at making it easy again. It’s like a grown up version of Logo (or at least the Turtle Graphics part of Logo).

Here’s a little graphic I made, with some very simple changes to the example he gives:

"Circles"
Circles

Unfortunately, I closed my browser tab and lost the source to this amazing work of art. I’m sure it won’t be hard for someone to recreate, though.