Gallery

Point Spread

This image visualizes the spread of the feature points in two dimensions. It's based on a very simple formula where the color of the pixels vary linearly with the distance to the nearest feature point. A part of the code, where the coloration is done, looks like this:

cd = CellDataStruct(this, 1, at, cn.EUCLIDEAN);

...

cn.noise(cd)

pixels[x + y*width] = color(

255,

((float)cd.F[0] * 2560),

((float)cd.F[0] * 2560),

);

The complete code is available here, along with most of the other examples in the gallery. To be able to run it in Processing, you'll have to download the CellNoise library from the download page.

log in administrator | design: c & s