Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2c61f9a

Browse filesBrowse files
authored
Merge pull request #13 from processing/spline-point-tangent
Put back curvePoint/Tangent
2 parents def4e74 + dc49608 commit 2c61f9a
Copy full SHA for 2c61f9a

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎src/shapes.js

Copy file name to clipboardExpand all lines: src/shapes.js
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ function addShapes(p5, fn, lifecycles) {
8787
}
8888
}
8989
}
90+
91+
fn.curvePoint = function(...args) {
92+
return this.splinePoint(...args);
93+
}
94+
fn.curveTangent = function(...args) {
95+
return this.splineTangent(...args);
96+
}
9097
}
9198

9299
if (typeof p5 !== undefined) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.