UNPKG
point-at-length
Version:
latest (1.1.0)
1.1.0
1.0.2
1.0.1
1.0.0
compute a point from an svg path string
github.com/substack/point-at-length
substack/point-at-length
point-at-length
/
example
/
at.js
5 lines
(4 loc)
•
139 B
JavaScript
View Raw
1
2
3
4
5
var
point =
require
(
'../'
);
var
pts =
point
(process.
argv
.
slice
(
3
).
join
(
' '
));
var
t =
Number
(process.
argv
[
2
]);
console
.
log
(pts.
at
(t));