1.) Create a cubic bezier curve A that starts an p1 and ends at p2 and is tangent to such-and-line at p1 and such-and-such line at p2 and passes through p3.
2.) Give me a set S of 10 points evenly distributed on A.
3.) Create circles of such-and-such radius at each point in S.
4.) Now, move p1 and p2 from 1. to other locations having the side-effect of updating the circles in 3.
5.) Render to SVG.
I haven't been able to find anything like this...
Edited by jwezorek, 24 August 2012 - 12:00 PM.