Skip to content

Commit 3b8f573

Browse files
authored
some minor fixes.
1 parent 88ebc9c commit 3b8f573

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/shape/curves.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ function curves(p5, fn){
822822
* `splineTangent()` calculates coordinates along a tangent line using four
823823
* points p0, p1, p2, p3. It expects points in the same order as the
824824
* <a href="#/p5/spline">spline()</a> function. `splineTangent()` works one
825-
* axis at a time.Passing the points' x-coordinates returns the x-component of
825+
* axis at a time. Passing the points' x-coordinates returns the x-component of
826826
* the tangent vector; passing the points' y-coordinates returns the y-component.
827827
* The first parameter, `a`, is the coordinate of point p0.
828828
*
@@ -847,7 +847,7 @@ function curves(p5, fn){
847847
* <div>
848848
* <code>
849849
* function setup() {
850-
* createCanvas(220, 160);
850+
* createCanvas(120, 120);
851851
* describe('A black spline on a gray canvas. A red dot moves along the curve on its own. A short line shows the tangent direction at the dot.');
852852
* }
853853
*

0 commit comments

Comments
 (0)