Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/shape/custom_shapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -1969,7 +1969,7 @@ function customShapes(p5, fn) {
* strokeWeight(2);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
* ```
*
* <img src="assets/roundBulge.png"></img>
* Here's the example showing positive value of tightness,
* which makes the curve tighter and more angular:
*
Expand All @@ -1979,6 +1979,7 @@ function customShapes(p5, fn) {
* strokeWeight(2);
* spline(25, 46, 93, 44, 93, 81, 35, 85);
* ```
* <img src="assets/anglurBulge.png"></img>
*
* In all cases, the splines in p5.js are <a href = "https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Cardinal_spline">cardinal splines</a>.
* When tightness is 0, these splines are often known as
Expand Down
Loading