This example demonstrates how to use the getTotalLength and getPointAtLength methods on SVG path elements to interpolate a point along a Catmull–Rom spline.
A related technique is stroke dash interpolation.
forked from mbostock's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
forked from antonyross's block: Point-Along-Path Interpolation
https://d3js.org/d3.v3.min.js