Posts Tagged ‘golden ratio’

CImg Image Library for C++

Wednesday, February 24th, 2010

Today I started playing around with the CImg library. It’s a library for C++ which can read and write image files in many common formats, and also manipulate images in memory. I want to use it for some specific computer art projects that I have had in mind for a little while.

As a test to familiarize myself with the CImg API, I constructed the following image. It’s a bunch of multicolored semi-transparent circles placed in a golden ratio spiral pattern. Click the image for a bigger version.

A golden ratio spiral pattern, using multicolored semi-transparent circles