sliderButton.drag(move, start, up);
but the algorithm could quite easily (but with some thought) be changed into an animation
that travels along the path.
thanks for all your answers.
Dmitry: so I assume there's a reason why it is not anymore a standard
feature. Any plans for the future?
Thanks
Claudio
On Nov 29, 1:08 am, Dmitry Baranovskiy <dmitry.baranovs...@gmail.com>
wrote:
> http://raphaeljs.com/gear.html
// mod to get angle of tangent vector 0 is motion to East, 90 to S
alpha = (-90 - math.atan2(mx - nx, my - ny) * 180 / PI);
(alpha >= -180) || (alpha += 360);
// original code gives angle of tangent line, but flips tangent vector
// alpha = (90 - math.atan2(mx - nx, my - ny) * 180 / PI);
// (mx > nx || my < ny) && (alpha += 180);