From 2f685726740c6baeab95b290e1b0762a361c0a1f Mon Sep 17 00:00:00 2001
From: Perminder Singh <127239756+perminder-17@users.noreply.github.com>
Date: Thu, 4 Sep 2025 07:38:19 +0530
Subject: [PATCH] minor-fixing in shape docs
---
src/shape/custom_shapes.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/shape/custom_shapes.js b/src/shape/custom_shapes.js
index 68805260f3..07c54fde7a 100644
--- a/src/shape/custom_shapes.js
+++ b/src/shape/custom_shapes.js
@@ -1939,7 +1939,7 @@ function customShapes(p5, fn) {
*
*
* ```js
- * splineProperty('ends', INCLUDE);
+ * splineProperty('ends', EXCLUDE);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
*
* point(25, 46);
@@ -1969,7 +1969,7 @@ function customShapes(p5, fn) {
* strokeWeight(2);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
* ```
- *
+ *
* Here's the example showing positive value of tightness,
* which makes the curve tighter and more angular:
*
@@ -1979,6 +1979,7 @@ function customShapes(p5, fn) {
* strokeWeight(2);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
* ```
+ *
*
* In all cases, the splines in p5.js are cardinal splines.
* When tightness is 0, these splines are often known as