From 911b396bbed17673983e799abb0986b0bcda7f69 Mon Sep 17 00:00:00 2001 From: Max Goldstein Date: Mon, 31 Aug 2015 14:05:21 -0400 Subject: [PATCH] Add the final two parameters of the second curve example --- src/core/curves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/curves.js b/src/core/curves.js index e1f0da5205..63fd583183 100644 --- a/src/core/curves.js +++ b/src/core/curves.js @@ -235,7 +235,7 @@ p5.prototype.bezierTangent = function(a, b, c, d, t) { * p3 = {x: 73, y: 61}, p4 = {x: 15, y: 65} * noFill(); * stroke(255, 102, 0); - * curve(p1.x, p1.y, p1.x, p1.y, p2.x, p2.y) + * curve(p1.x, p1.y, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y) * stroke(0); * curve(p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y) * stroke(255, 102, 0);