diff --git a/src/shapes.js b/src/shapes.js index 0fd686c..ae087b7 100644 --- a/src/shapes.js +++ b/src/shapes.js @@ -87,6 +87,13 @@ function addShapes(p5, fn, lifecycles) { } } } + + fn.curvePoint = function(...args) { + return this.splinePoint(...args); + } + fn.curveTangent = function(...args) { + return this.splineTangent(...args); + } } if (typeof p5 !== undefined) {