The veins below are composed of thousands of self-similar cells linked together. Randomly distributed hormone sources alert nearby cells of their location. The cell grows toward the source by instantiating new cells in that direction. In this fashion the vein system is generated.
Final composition can be finely crafted through the careful selection of hormone source locations. I have implemented random scattering, placement by mouse, and constrain to image.
Download Source Code
Programmed in Processing
In Albuquerque, New Mexico, USA
Around 5:55pm December 9, 2019