On Flowers

I’ve been playing with generating flowers from some simple mathematical rules, partly for fun, partly as a project that will finally tie up the 3D engine I’ve been writing, and partly as something that I can use as a base for teaching myself AngularJS (originally it was going to be Backbone, but the wind seems to be blowing in a more Angular fashion these days). As you can see from the image below, the method I’ve been using for the solely 2d case is based on concentric circles.

As it happened a friend of mine has a travelling art show, and asked if I had something I could submit to it for it’s newest exhibition. Previously I’d painted an image of a Bethnal Green tower block, but this time I thought I’d let the computer do the hard work.

The above images are now on display in ‘The Library of Obscure Wonders’, showing at the Hundred Years Gallery, Hoxton. Be sure to pop down- there’s nothing else computer-generated, I promise.

The above was all done with Javascript and the HTML5 Canvas API, and I’ve set up a live demonstration here. Next weekend I’ll have a post on the next phase, which is extending the idea into three dimensions, and hooking up a canvas app to Angular JS.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>