stippled line variable point spacing from raster

 From:  pressure (PEER)
10809.1 
Hello,

I'm looking for a way to array points along a curve (in a plane) with the distance between each pair of points modulated by the pixel value of an underlying raster image (i.e. image is in same plane as curve). For example, if the image is a gradient then the spacing should smoothly decrease from the white end to the black end:



In other words, I want to do something like:

1. Fit a function on 2D plane to pixel values
2. Integrate function along curve
3. Reset integrator when integral equals a predetermined value
4. Place a point on path each time that integrator resets

while having control over the min and max distance between points such as by clipping the range of the integrand.

I'd be happy with a somewhat manual process, but can't think of how to do this with the graphics software that I know.

- Peer
Attachments: