08 May 2009

Growing helicoidal curves on a surface

I was learning some vector operations for the Iterative Branching Systems project, and doing that I came out with this experiment to grow curves on a surface, like hairs on a skin.

After calculating an array of points on the given surface, on each point, the algorithm creates a vertical vector, and iteratibly scales a duplicate of it, rotate it and put it on top of the last one. Then, uses these vectors as control points to create a curve, which is used to construct cone-pipes with a modified version of the Andrew Kudless’ PipeAll script (with 0 end radius).

The first image shows helix growth, in the second, the vectors have a pseudo-random rotation, and in the last one, the array on the surface is also random.

No comments:

Post a Comment