mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-13 14:38:49 -04:00
Change Curve#[getPoint / getTangent / getNormal](t) to #[getPoint / getTangent / getNormal](offset, isParamter).
Keep deprecated versions around for now.
This commit is contained in:
parent
e75ee18de1
commit
1a438b8b9b
5 changed files with 99 additions and 85 deletions
examples/Scripts
|
@ -41,7 +41,7 @@
|
|||
var t = iteratively
|
||||
? curve.getParameterAt(step, prev)
|
||||
: curve.getParameterAt(pos);
|
||||
var point = curve.getPoint(t);
|
||||
var point = curve.getPointAt(t, true);
|
||||
var circle = new Path.Circle(point, step / 2);
|
||||
circle.strokeColor = 'red';
|
||||
if (remove)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue