More on this: http://ivanicus.com/moo/morphbezier-3.rar
Now we can have an array of BezierCruves applied to a morph, and with so, have a more complex path... Im stuck right here... I guess Im too sleepy or tired or smth... will try to have a look at this again tomorrow.. in the meantime, if someone wants to take a stab at it.... The problem: - In the sample we have defined 3 bezier curves with matching endpoints so it looks like a continuous shape. - We have Motion from Point A to B to C (3 splines) - We have the code that selects the required spline to continue calculation depending on the time of the animation - We do NOT have the code that needs to map the global counter of the animation (ranging 0 to 1) to the local counter of a Bezier Curve (rangin 1-0 as well) If Im not being clear, please tell me... so I can explain further, though you may notice quickly the problem by playing the sample. Some coded needs to be added, exactly in lines 35-37 and 48-50 in file bezier.js, that will map this values to the correct ones. Code is not yet optimized as this is still not functional 100%, but you may already take a look at the progress.. Enjoy!!!! Iván
