You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this code works well if 'raphael.js' is 2.1.1 but not for 2.1.2, where the path is shown as a curve but the 'glow' function highlights the linear paths between the points and 'getPointAtLength()' returns points on this linear path:
<script type="text/javascript">
function start() {
var paper = Raphael(document.all.r);
var animationPath = paper.path("M1052,141T1186,63T1281,206T1019,241");
animationPath.glow();
var point = animationPath.getPointAtLength(300);
var c = paper.circle(point.x, point.y, 5);
}
</script>
The text was updated successfully, but these errors were encountered:
this code works well if 'raphael.js' is 2.1.1 but not for 2.1.2, where the path is shown as a curve but the 'glow' function highlights the linear paths between the points and 'getPointAtLength()' returns points on this linear path:
<title></title> <script src="raphael.js"></script>The text was updated successfully, but these errors were encountered: