|
From a conceptual perspective, generating a cellular image is simple. Place imaginary random points onto a texture. Step through each pixel in the texture, determine the distance to the nearest point, and color accordingly. The code to do this isn't too bad either. Implementing it in Javascript, however, is pretty tiresome.
The rendering process and calculations involved are little too long-winded for mere Javascript, which likes to throw timeout messages in defiance. Hence, the overly-complicated, block-by-block animations.
Anyway, you're welcome to look through the source, but don't take it too seriously. Generating Javascript client-side imagery is, for now, a novel yet inefficient process.
Note: This html page is self-contained. That is to say, it doesn't rely on external files or imagery.
shane@archadegames.com
|
|